public abstract class DistributedSystemUtils extends SpringUtils
GemFireCache
,
DistributedSystem
,
InternalDistributedSystem
,
DistributionLocator
SpringUtils.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, requireObject, requireObject, safeDoOperation, safeDoOperation, safeGetValue, safeGetValue, safeGetValue, safeGetValue, safeRunOperation, safeRunOperation, setPropertyReference, setPropertyValue
public 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–2021 Pivotal Software, Inc.. All rights reserved.