public class ClientRegionHelper extends Object
ClientRegionDescription. Methods are thread-safe.| Constructor and Description |
|---|
ClientRegionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static com.gemstone.gemfire.cache.Region |
createRegion(String regionConfig)
Creates the client region using the given client region configuration
in the current cache.
|
static com.gemstone.gemfire.cache.Region |
createRegion(String regionName,
String regionConfig)
Creates the client region using the given name and client region
configuration in the client cache.
|
static ClientRegionDescription |
getClientRegionDescription(String regionConfig)
Returns the
ClientRegionDescription with the given configuration
name from ClientRegionPrms.names. |
static com.gemstone.gemfire.cache.Region |
getRegion(String regionName)
Returns the client region with the given name in the current cache,
or null if no region with that name exists.
|
static String |
regionAttributesToString(com.gemstone.gemfire.cache.RegionAttributes attributes)
Returns the given region attributes as a string.
|
public static com.gemstone.gemfire.cache.Region createRegion(String regionConfig)
ClientRegionDescription corresponding to the client region configuration
from ClientRegionPrms.names. The region name is the corresponding
value of ClientRegionPrms.regionName.
Lazily creates the disk store specified by #diskStoreName, if needed, using #createDiskStore(String).
Lazily creates the pool specified by ClientRegionPrms.poolName,
if needed, using PoolHelper.createPool(String).
public static com.gemstone.gemfire.cache.Region createRegion(String regionName, String regionConfig)
ClientRegionDescription corresponding to the client region
configuration from ClientRegionPrms.names.
Creates the client region with the given name using the given client region
configuration in the current cache. The region is configured using the
ClientRegionDescription corresponding to the client region
configuration from ClientRegionPrms.names.
Lazily creates the disk store specified by #diskStoreName, if needed, using #createDiskStore(String).
Lazily creates the pool specified by ClientRegionPrms.poolName,
if needed, using PoolHelper.createPool(String).
public static com.gemstone.gemfire.cache.Region getRegion(String regionName)
public static ClientRegionDescription getClientRegionDescription(String regionConfig)
ClientRegionDescription with the given configuration
name from ClientRegionPrms.names.public static String regionAttributesToString(com.gemstone.gemfire.cache.RegionAttributes attributes)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.