Class DistributedSystemUtils

java.lang.Object
org.springframework.data.gemfire.util.SpringUtils
org.springframework.data.gemfire.util.DistributedSystemUtils
Direct Known Subclasses:
CacheUtils

public abstract class DistributedSystemUtils extends SpringUtils
DistributedSystemUtils is an abstract utility class for working with the GemFire DistributedSystem.
Since:
1.7.0
Author:
John Blum
See Also:
  • 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

      public static final String DURABLE_CLIENT_ID_PROPERTY_NAME
    • DURABLE_CLIENT_TIMEOUT_PROPERTY_NAME

      public static final String DURABLE_CLIENT_TIMEOUT_PROPERTY_NAME
    • GEMFIRE_PREFIX

      public static final String GEMFIRE_PREFIX
      See Also:
    • NAME_PROPERTY_NAME

      public static final String NAME_PROPERTY_NAME
  • Constructor Details

    • DistributedSystemUtils

      public DistributedSystemUtils()
  • Method Details

    • configureDurableClient

      public static Properties configureDurableClient(Properties gemfireProperties, String durableClientId, Integer durableClientTimeout)
    • isConnected

      public static boolean isConnected(DistributedSystem distributedSystem)
    • isNotConnected

      public static boolean isNotConnected(DistributedSystem distributedSystem)
    • getDistributedSystem

      public static <T extends DistributedSystem> T getDistributedSystem()
    • getDistributedSystem

      public static <T extends DistributedSystem> T getDistributedSystem(GemFireCache gemfireCache)
    • getLocator

      public static <T extends Locator> T getLocator()