Class DistributedSystemUtils
java.lang.Object
org.springframework.data.gemfire.util.SpringExtensions
org.springframework.data.gemfire.util.DistributedSystemUtils
- Direct Known Subclasses:
CacheUtils
DistributedSystemUtils is an abstract utility class for working with the GemFire DistributedSystem.
- Since:
- 1.7.0
- Author:
- John Blum
- See Also:
-
GemFireCache
DistributedSystem
InternalDistributedSystem
DistributionLocator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.util.SpringExtensions
SpringExtensions.OrderedBeanWrapper<T>, SpringExtensions.ValueReturningThrowableOperation<T>, SpringExtensions.VoidReturningThrowableOperation
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Properties
configureDurableClient
(Properties gemfireProperties, String durableClientId, Integer durableClientTimeout) static <T extends DistributedSystem>
Tstatic <T extends DistributedSystem>
TgetDistributedSystem
(GemFireCache gemfireCache) static <T extends Locator>
Tstatic boolean
isConnected
(DistributedSystem distributedSystem) static boolean
isNotConnected
(DistributedSystem distributedSystem) Methods inherited from class org.springframework.data.gemfire.util.SpringExtensions
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_CACHE_SERVER_PORT
public static final int DEFAULT_CACHE_SERVER_PORT- See Also:
-
DEFAULT_LOCATOR_PORT
public static final int DEFAULT_LOCATOR_PORT- See Also:
-
DURABLE_CLIENT_ID_PROPERTY_NAME
-
DURABLE_CLIENT_TIMEOUT_PROPERTY_NAME
-
GEMFIRE_PREFIX
- See Also:
-
NAME_PROPERTY_NAME
-
-
Constructor Details
-
DistributedSystemUtils
public DistributedSystemUtils()
-
-
Method Details
-
configureDurableClient
@NonNull public static Properties configureDurableClient(@NonNull Properties gemfireProperties, @Nullable String durableClientId, @Nullable Integer durableClientTimeout) -
isConnected
-
isNotConnected
-
getDistributedSystem
-
getDistributedSystem
@Nullable public static <T extends DistributedSystem> T getDistributedSystem(GemFireCache gemfireCache) -
getLocator
-