public abstract class GemfireUtils extends RegionUtils
GemfireUtils
is an abstract utility class encapsulating common functionality to access features
and capabilities of GemFire based on version and other configuration meta-data.CacheFactory
,
Region
,
RegionUtils
Modifier and Type | Field and Description |
---|---|
static String |
APACHE_GEODE_NAME |
static String |
GEMFIRE_NAME |
static String |
GEMFIRE_VERSION |
static String |
UNKNOWN |
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 |
---|
GemfireUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
apacheGeodeProductName() |
static String |
apacheGeodeVersion() |
static boolean |
isGemfireVersion65OrAbove() |
static boolean |
isGemfireVersion7OrAbove() |
static boolean |
isGemfireVersion8OrAbove() |
static boolean |
isGemfireVersionGreaterThanEqualTo(double expectedVersion) |
static void |
main(String... args) |
isClient, toRegionName, toRegionName, toRegionPath, toRegionPath
close, close, close, closeCache, closeClientCache, getCache, getClientCache, isClient, isDurable, isPeer, resolveGemFireCache
configureDurableClient, getDistributedSystem, getDistributedSystem, getLocator, isConnected, isNotConnected
addDependsOn, defaultIfEmpty, defaultIfNull, defaultIfNull, dereferenceBean, equalsIgnoreNull, nullOrEquals, nullSafeEquals, safeGetValue, safeGetValue, safeGetValue, safeGetValue, setPropertyReference, setPropertyValue
public static final String APACHE_GEODE_NAME
public static final String GEMFIRE_NAME
public static final String GEMFIRE_VERSION
public static final String UNKNOWN
public static String apacheGeodeProductName()
public static String apacheGeodeVersion()
public static boolean isGemfireVersionGreaterThanEqualTo(double expectedVersion)
public static boolean isGemfireVersion65OrAbove()
public static boolean isGemfireVersion7OrAbove()
public static boolean isGemfireVersion8OrAbove()
public static void main(String... args)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.