public abstract class DistributedSystemUtils extends SpringUtils
GemFireCache,
DistributedSystem,
DistributionConfig,
InternalDistributedSystem,
DistributionLocator| 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 |
| Constructor and Description |
|---|
DistributedSystemUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
configureDurableClient(Properties gemfireProperties,
String durableClientId,
Integer durableClientTimeout) |
static <T extends com.gemstone.gemfire.distributed.DistributedSystem> |
getDistributedSystem() |
static <T extends com.gemstone.gemfire.distributed.DistributedSystem> |
getDistributedSystem(com.gemstone.gemfire.cache.GemFireCache gemfireCache) |
static boolean |
isConnected(com.gemstone.gemfire.distributed.DistributedSystem distributedSystem) |
static boolean |
isNotConnected(com.gemstone.gemfire.distributed.DistributedSystem distributedSystem) |
addDependsOn, defaultIfEmpty, defaultIfNull, dereferenceBean, equalsIgnoreNullpublic 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 Properties configureDurableClient(Properties gemfireProperties, String durableClientId, Integer durableClientTimeout)
public static boolean isConnected(com.gemstone.gemfire.distributed.DistributedSystem distributedSystem)
public static boolean isNotConnected(com.gemstone.gemfire.distributed.DistributedSystem distributedSystem)
public static <T extends com.gemstone.gemfire.distributed.DistributedSystem> T getDistributedSystem()
public static <T extends com.gemstone.gemfire.distributed.DistributedSystem> T getDistributedSystem(com.gemstone.gemfire.cache.GemFireCache gemfireCache)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.