public abstract class DistributedSystemUtils extends SpringUtils
GemFireCache,
DistributedSystem,
InternalDistributedSystem,
DistributionLocatorSpringUtils.OrderedBeanWrapper<T>, SpringUtils.ValueReturningThrowableOperation<T>, SpringUtils.VoidReturningExceptionThrowingOperation, SpringUtils.VoidReturningThrowableOperation| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CACHE_SERVER_PORT |
static int |
DEFAULT_LOCATOR_PORT |
static String |
DURABLE_CLIENT_ID_PROPERTY_NAME |
static String |
DURABLE_CLIENT_TIMEOUT_PROPERTY_NAME |
static String |
GEMFIRE_PREFIX |
static String |
NAME_PROPERTY_NAME |
| Constructor and Description |
|---|
DistributedSystemUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
configureDurableClient(Properties gemfireProperties,
String durableClientId,
Integer durableClientTimeout) |
static <T extends org.apache.geode.distributed.DistributedSystem> |
getDistributedSystem() |
static <T extends org.apache.geode.distributed.DistributedSystem> |
getDistributedSystem(org.apache.geode.cache.GemFireCache gemfireCache) |
static <T extends org.apache.geode.distributed.Locator> |
getLocator() |
static boolean |
isConnected(org.apache.geode.distributed.DistributedSystem distributedSystem) |
static boolean |
isNotConnected(org.apache.geode.distributed.DistributedSystem distributedSystem) |
addDependsOn, defaultIfEmpty, defaultIfEmpty, defaultIfNull, defaultIfNull, dereferenceBean, equalsIgnoreNull, getBeansOfTypeOrdered, getBeansOfTypeOrdered, getOrder, getOrderedStreamOfBeansByType, getPropertyValue, isMatchingBean, nullOrEquals, nullSafeEquals, nullSafeName, nullSafeSimpleName, nullSafeType, nullSafeType, safeDoOperation, safeGetValue, safeGetValue, safeGetValue, safeGetValue, safeRunOperation, safeRunOperation, setPropertyReference, setPropertyValuepublic static final int DEFAULT_CACHE_SERVER_PORT
public static final int DEFAULT_LOCATOR_PORT
public static final String DURABLE_CLIENT_ID_PROPERTY_NAME
public static final String DURABLE_CLIENT_TIMEOUT_PROPERTY_NAME
public static final String GEMFIRE_PREFIX
public static final String NAME_PROPERTY_NAME
public static Properties configureDurableClient(Properties gemfireProperties, String durableClientId, Integer durableClientTimeout)
public static boolean isConnected(org.apache.geode.distributed.DistributedSystem distributedSystem)
public static boolean isNotConnected(org.apache.geode.distributed.DistributedSystem distributedSystem)
public static <T extends org.apache.geode.distributed.DistributedSystem> T getDistributedSystem()
public static <T extends org.apache.geode.distributed.DistributedSystem> T getDistributedSystem(org.apache.geode.cache.GemFireCache gemfireCache)
public static <T extends org.apache.geode.distributed.Locator> T getLocator()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.