public abstract class RegionUtils extends CacheUtils
RegionUtils
class is an abstract utility class for working with Regions
.Region
,
RegionAttributes
SpringUtils.VoidReturningExceptionThrowingOperation
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 |
---|
RegionUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
assertClientRegionShortcutAndPersistentAttributeAreCompatible(org.apache.geode.cache.client.ClientRegionShortcut resolvedShortcut,
Boolean persistent)
Assert that the configuration settings for
ClientRegionShortcut and the persistent attribute
in <gfe:*-region> elements are compatible. |
static void |
assertDataPolicyAndPersistentAttributeAreCompatible(org.apache.geode.cache.DataPolicy resolvedDataPolicy,
Boolean persistent)
Assert that the configuration settings for
DataPolicy and the persistent attribute
in <gfe:*-region> elements are compatible. |
static boolean |
isClient(org.apache.geode.cache.Region region) |
static String |
toRegionName(org.apache.geode.cache.Region<?,?> region) |
static String |
toRegionName(String regionPath) |
static String |
toRegionPath(org.apache.geode.cache.Region<?,?> region) |
static String |
toRegionPath(String regionName) |
close, close, close, closeCache, closeClientCache, getCache, getClientCache, isClient, isDefaultPool, isDefaultPool, isDurable, isNotDefaultPool, isNotDefaultPool, isPeer, resolveGemFireCache
configureDurableClient, getDistributedSystem, getDistributedSystem, getLocator, isConnected, isNotConnected
addDependsOn, defaultIfEmpty, defaultIfEmpty, defaultIfNull, defaultIfNull, dereferenceBean, equalsIgnoreNull, getPropertyValue, nullOrEquals, nullSafeEquals, nullSafeName, nullSafeSimpleName, safeGetValue, safeGetValue, safeGetValue, safeGetValue, safeRunOperation, safeRunOperation, setPropertyReference, setPropertyValue
public static void assertClientRegionShortcutAndPersistentAttributeAreCompatible(org.apache.geode.cache.client.ClientRegionShortcut resolvedShortcut, Boolean persistent)
ClientRegionShortcut
and the persistent attribute
in <gfe:*-region> elements are compatible.resolvedShortcut
- ClientRegionShortcut
resolved from the SDG XML namespace.persistent
- boolean indicating the value of the persistent configuration attribute.ClientRegionShortcutWrapper
,
ClientRegionShortcut
public static void assertDataPolicyAndPersistentAttributeAreCompatible(org.apache.geode.cache.DataPolicy resolvedDataPolicy, Boolean persistent)
DataPolicy
and the persistent attribute
in <gfe:*-region> elements are compatible.resolvedDataPolicy
- DataPolicy
resolved from the SDG XML namespace.persistent
- boolean indicating the value of the persistent configuration attribute.DataPolicy
public static boolean isClient(org.apache.geode.cache.Region region)
@Nullable public static String toRegionName(@Nullable org.apache.geode.cache.Region<?,?> region)
@Nullable public static String toRegionPath(@Nullable org.apache.geode.cache.Region<?,?> region)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.