public class RecyclePrms extends BasePrms
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Long |
edgeCacheConfig
An entry in
CachePrms.names giving the cache configuration. |
static java.lang.Long |
edgeRegionConfig
An entry in
RegionPrms.names giving the region configuration. |
static java.lang.Long |
interestResultPolicy
(String)
Type of InterestResultPolicy to use in registerInterest call.
|
static java.lang.Long |
isRegionNamesDefined
(boolean(s))
Whether the names for regions to be created are specified in conf file or not.
|
static java.lang.Long |
numberOfEntitiesInRegion
Number of entities in region
|
static java.lang.Long |
numberOfRootRegions
Number of Regions
|
static java.lang.Long |
recycleModeIsAHardKill
Recycle mode is a kill or disconnect?
|
static java.lang.Long |
regionDepth
Region depth
|
static java.lang.Long |
sleepBetweenCycles
Sleep secs before recycling, default is 120 secs
|
| Constructor and Description |
|---|
RecyclePrms() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
generateNames(java.lang.String prefix,
int n,
int m,
boolean useComma)
Same as
#generateNames(String,int,int) but comma-separates the
names if asked. |
static java.lang.String |
getEdgeCacheConfig()
Returns the value of
edgeCacheConfig, or null if it is not set. |
static java.lang.String |
getEdgeRegionConfig()
Returns the value of
edgeRegionConfig, or null if it is not set. |
static com.gemstone.gemfire.cache.InterestResultPolicy |
getInterestResultPolicy() |
static java.lang.String |
getString(java.lang.Long key)
Returns the string at the given key, checking task attributes as well as
the regular configuration hashtable.
|
static boolean |
isRecycleModeHardKill() |
static boolean |
isRegionNamesDefined() |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static java.lang.Long sleepBetweenCycles
public static java.lang.Long numberOfRootRegions
public static java.lang.Long numberOfEntitiesInRegion
public static java.lang.Long regionDepth
public static java.lang.Long isRegionNamesDefined
public static java.lang.Long interestResultPolicy
public static java.lang.Long recycleModeIsAHardKill
public static java.lang.Long edgeCacheConfig
CachePrms.names giving the cache configuration.public static java.lang.Long edgeRegionConfig
RegionPrms.names giving the region configuration.public static com.gemstone.gemfire.cache.InterestResultPolicy getInterestResultPolicy()
public static java.lang.String getEdgeCacheConfig()
edgeCacheConfig, or null if it is not set.HydraConfigException - if not found in CachePrms.names.public static java.lang.String getEdgeRegionConfig()
edgeRegionConfig, or null if it is not set.HydraConfigException - if not found in RegionPrms.names.public static boolean isRecycleModeHardKill()
public static boolean isRegionNamesDefined()
public static java.lang.String getString(java.lang.Long key)
public static java.lang.String generateNames(java.lang.String prefix,
int n,
int m,
boolean useComma)
#generateNames(String,int,int) but comma-separates the
names if asked.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.