Class CacheUtils
java.lang.Object
org.springframework.data.gemfire.util.SpringUtils
org.springframework.data.gemfire.util.DistributedSystemUtils
org.springframework.data.gemfire.util.CacheUtils
- Direct Known Subclasses:
RegionUtils
CacheUtils is an abstract utility class encapsulating common operations for working with
Cache and ClientCache instances.- Since:
- 1.8.0
- Author:
- John Blum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.util.SpringUtils
SpringUtils.OrderedBeanWrapper<T>, SpringUtils.ValueReturningThrowableOperation<T>, SpringUtils.VoidReturningExceptionThrowingOperation, SpringUtils.VoidReturningThrowableOperation -
Field Summary
FieldsFields inherited from class org.springframework.data.gemfire.util.DistributedSystemUtils
DEFAULT_CACHE_SERVER_PORT, DEFAULT_LOCATOR_PORT, DURABLE_CLIENT_ID_PROPERTY_NAME, DURABLE_CLIENT_TIMEOUT_PROPERTY_NAME, GEMFIRE_PREFIX, NAME_PROPERTY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanclose()static booleanclose(GemFireCache gemfireCache) static booleanclose(GemFireCache gemfireCache, Runnable shutdownHook) static booleanstatic booleanstatic CachegetCache()static ClientCachestatic booleanisClient(GemFireCache cache) static booleanisDefaultPool(String poolName) static booleanisDefaultPool(Pool pool) static booleanisDurable(ClientCache clientCache) static booleanisNotDefaultPool(String poolName) static booleanisNotDefaultPool(Pool pool) static booleanisPeer(GemFireCache cache) static GemFireCacheMethods inherited from class org.springframework.data.gemfire.util.DistributedSystemUtils
configureDurableClient, getDistributedSystem, getDistributedSystem, getLocator, isConnected, isNotConnectedMethods inherited from class org.springframework.data.gemfire.util.SpringUtils
addDependsOn, areNotNull, 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
-
Field Details
-
DEFAULT_POOL_NAME
- See Also:
-
-
Constructor Details
-
CacheUtils
public CacheUtils()
-
-
Method Details
-
isClient
-
isDefaultPool
-
isNotDefaultPool
-
isDefaultPool
-
isNotDefaultPool
-
isDurable
-
isPeer
-
close
public static boolean close() -
close
-
close
-
closeCache
public static boolean closeCache() -
closeClientCache
public static boolean closeClientCache() -
getCache
-
getClientCache
-
resolveGemFireCache
-