public abstract class CacheUtils extends DistributedSystemUtils
DistributedSystemUtils,
Cache,
CacheFactory,
GemFireCache,
Region,
ClientCache,
ClientCacheFactory,
DistributedSystem,
GemFireCacheImpl| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_POOL_NAME |
DEFAULT_CACHE_SERVER_PORT, DEFAULT_LOCATOR_PORT, DURABLE_CLIENT_ID_PROPERTY_NAME, DURABLE_CLIENT_TIMEOUT_PROPERTY_NAME, GEMFIRE_PREFIX, NAME_PROPERTY_NAME| Constructor and Description |
|---|
CacheUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
closeCache() |
static boolean |
closeClientCache() |
static com.gemstone.gemfire.cache.Cache |
getCache() |
static com.gemstone.gemfire.cache.client.ClientCache |
getClientCache() |
static boolean |
isClient(com.gemstone.gemfire.cache.GemFireCache cache) |
static boolean |
isDurable(com.gemstone.gemfire.cache.client.ClientCache clientCache) |
static boolean |
isPeer(com.gemstone.gemfire.cache.GemFireCache cache) |
configureDurableClient, getDistributedSystem, getDistributedSystem, isConnected, isNotConnecteddefaultIfEmpty, defaultIfNull, dereferenceBean, sort, sort, toArraypublic static final String DEFAULT_POOL_NAME
public static boolean isClient(com.gemstone.gemfire.cache.GemFireCache cache)
public static boolean isDurable(com.gemstone.gemfire.cache.client.ClientCache clientCache)
public static boolean isPeer(com.gemstone.gemfire.cache.GemFireCache cache)
public static boolean closeCache()
public static boolean closeClientCache()
public static com.gemstone.gemfire.cache.Cache getCache()
public static com.gemstone.gemfire.cache.client.ClientCache getClientCache()