public class RegionPrms extends BasePrms
RegionDescription.
The number of description instances is gated by names. For other
parameters, if fewer values than names are given, the remaining instances
will use the last value in the list. See $JTESTS/hydra/hydra.txt for more
details.
Unused parameters default to null, except where noted. This uses the product default, except where noted.
Values, fields, and subfields of a parameter can be set to BasePrms.DEFAULT,
except where noted. This uses the product default, except where noted.
Values, fields, and subfields can be set to BasePrms.NONE where noted, with
the documented effect.
Values, fields, and subfields of a parameter can use oneof, range, or robing except where noted, but each description created will use a fixed value chosen at test configuration time. Use as a task attribute is illegal.
Subfields are order-dependent, as stated in the javadocs for parameters that use them.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Long |
asyncEventQueueNames
(Comma-separated lists of String(s))
Names of logical async event queue configurations (and actual ids) for
each region, as found in
AsyncEventQueuePrms.names. |
static java.lang.Long |
cacheListeners
(Comma-separated String(s))
Class names of cache listeners for each region.
|
static java.lang.Long |
cacheListenersSingleton
(boolean(s))
Whether the
cacheListeners for each region are singletons across
all actual regions created with this description. |
static java.lang.Long |
cacheLoader
(String(s))
Cache loader for each region, consisting of an application classname.
|
static java.lang.Long |
cacheLoaderSingleton
(boolean(s))
Whether the
cacheLoader for each region is a singleton across
all actual regions created with this description. |
static java.lang.Long |
cacheWriter
(String(s))
Cache writer for each region, consisting of an application classname.
|
static java.lang.Long |
cacheWriterSingleton
(boolean(s))
Whether the
cacheWriter for each region is a singleton across
all actual regions created with this description. |
static java.lang.Long |
cloningEnabled
(boolean(s))
Cloning enabled for delta propagation on each region.
|
static java.lang.Long |
compressor
(String(s))
Compressor for each region, consisting of an application classname.
|
static java.lang.Long |
compressorSingleton
(boolean(s))
Whether the
compressor for each region is a singleton across
all actual regions created with this description. |
static java.lang.Long |
concurrencyChecksEnabled
(boolean(s))
concurrencyChecksEnabled for each region.
|
static java.lang.Long |
concurrencyLevel
(int(s))
Concurrency level for each region.
|
static java.lang.Long |
customEntryIdleTimeout
(String(s))
Classname of the custom entry idle timeout for each region.
|
static java.lang.Long |
customEntryTimeToLive
(String(s))
Classname of the custom entry time to live for each region.
|
static java.lang.Long |
dataPolicy
(String(s))
Data policy for each region.
|
static java.lang.String |
DEFAULT_REGION_NAME |
static java.lang.Long |
diskStoreName
(String(s))
Name of logical disk store configuration (and actual disk store name)
for each region, as found in
DiskStorePrms.names. |
static java.lang.Long |
diskSynchronous
(Boolean(s))
Disk synchronous for each region.
|
static java.lang.Long |
enableAsyncConflation
(boolean(s))
Enable async conflation for each region.
|
static java.lang.Long |
enableGateway
(boolean(s))
Enable gateway for each region.
|
static java.lang.Long |
enableOffHeapMemory
(boolean(s))
Enable off-heap memory for each region.
|
static java.lang.Long |
enableSubscriptionConflation
(boolean(s))
Enable subscription conflation for each region.
|
static java.lang.Long |
entryIdleTimeout
(Comma-separated int/String pair(s))
Entry idle timeout consisting for each region of the timeout in seconds
followed by an optional expiration action.
|
static java.lang.Long |
entryTimeToLive
(Comma-separated int/String pair(s))
Entry time to live consisting for each region of the time in seconds
followed by an optional expiration action.
|
static java.lang.Long |
evictionAttributes
(Comma-separated tuple(s))
Eviction attributes consisting for each region of the algorithm followed by
an ordered set of optional fields that depend on the algorithm.
|
static java.lang.Long |
gatewaySenderNames
(Comma-separated lists of String(s))
Names of logical gateway sender configurations for each region, as found
in
GatewaySenderPrms.names. |
static java.lang.Long |
hdfsStoreName
(String(s))
HDFS store name for each region.
|
static java.lang.Long |
hdfsWriteOnly
(boolean(s))
HDFS write-only for each region.
|
static java.lang.Long |
ignoreJTA
(boolean(s))
Ignore JTA for each region.
|
static java.lang.Long |
indexMaintenanceSynchronous
(boolean(s))
Index maintenance synchronous for each region.
|
static java.lang.Long |
initialCapacity
(int(s))
Initial capacity for each region.
|
static java.lang.Long |
interestPolicy
(String(s))
Interest policy for each region.
|
static java.lang.Long |
keyConstraint
(String(s))
Class name of key constraint for each region.
|
static java.lang.Long |
loadFactor
(float(s))
Load factor for each region.
|
static java.lang.Long |
lockGrantor
(boolean(s))
Lock grantor for each region.
|
static java.lang.Long |
membershipAttributes
(Comma-separated String/String/String triplet(s))
Membership attributes consisting for each region of required roles,
followed by an optional loss action and an optional resumption action.
|
static java.lang.Long |
multicastEnabled
(boolean(s))
Multicast enabled for each region.
|
static java.lang.Long |
names
(String(s))
Logical names of the region descriptions.
|
static java.lang.Long |
partitionName
(String(s))
Name of logical partition configuration for each region, as found in
PartitionPrms.names. |
static java.lang.Long |
poolName
(String(s))
Name of logical pool configuration (and actual pool name) for each region,
as found in
PoolPrms.names. |
static java.lang.Long |
regionIdleTimeout
(Comma-separated int/String pair(s))
Region idle timeout consisting for each region of the timeout in seconds
followed by an optional expiration action.
|
static java.lang.Long |
regionName
(String(s))
Actual name for each region.
|
static java.lang.Long |
regionTimeToLive
(Comma-separated int/String pair(s))
Region time to live consisting for each region of the time in seconds
followed by an optional expiration action.
|
static java.lang.Long |
scope
(String(s))
Scope for each region.
|
static java.lang.Long |
statisticsEnabled
(boolean(s))
Statistics enabled for each region.
|
static java.lang.Long |
valueConstraint
(String(s))
Class name of value constraint for each region.
|
| Constructor and Description |
|---|
RegionPrms() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static final java.lang.String DEFAULT_REGION_NAME
public static java.lang.Long names
public static java.lang.Long asyncEventQueueNames
AsyncEventQueuePrms.names. Can be
specified as BasePrms.NONE (default).AsyncEventQueuePrmspublic static java.lang.Long cacheListeners
BasePrms.NONE. See cacheListenersSingleton for control over
instance creation.
Example: To use ClassA and ClassB for the first region, no listeners for
the second region, and ClassC for the third region, specify:
ClassA ClassB, none, ClassC
public static java.lang.Long cacheListenersSingleton
cacheListeners for each region are singletons across
all actual regions created with this description. Defaults to false.public static java.lang.Long cacheLoader
BasePrms.NONE (default). See
cacheLoaderSingleton for control over instance creation.
Example: To use an application cache loader in the first region, no loader
in the second, and another loader in the third, the value might look like:
mypackage.MyRdbLoader, none, myotherpackage.MyOtherLoader
public static java.lang.Long cacheLoaderSingleton
cacheLoader for each region is a singleton across
all actual regions created with this description. Defaults to false.public static java.lang.Long cacheWriter
BasePrms.NONE (default). See
cacheWriterSingleton for control over instance creation.
Example: To use an application cache writer in the first region, no writer
in the second, and another writer in the third, the value might look like:
mypackage.MyRdbWriter, none, myotherpackage.MyOtherWriter
public static java.lang.Long cacheWriterSingleton
cacheWriter for each region is a singleton across
all actual regions created with this description. Defaults to false.public static java.lang.Long cloningEnabled
public static java.lang.Long compressor
BasePrms.NONE (default). See
compressorSingleton for control over instance creation.
Example: To use an application compressor in the first region, none
in the second, and another in the third, the value might look like:
mypackage.MyCompressor, none, myotherpackage.MyOtherCompressor
public static java.lang.Long compressorSingleton
compressor for each region is a singleton across
all actual regions created with this description. Defaults to false.public static java.lang.Long concurrencyChecksEnabled
public static java.lang.Long concurrencyLevel
public static java.lang.Long customEntryIdleTimeout
CustomExpiry. Can be
specified as BasePrms.NONE (default).public static java.lang.Long customEntryTimeToLive
CustomExpiry. Can be
specified as BasePrms.NONE (default).public static java.lang.Long dataPolicy
partitionName must also be set. If the data policy causes
persistence, diskStoreName must also be set.public static java.lang.Long diskStoreName
DiskStorePrms.names. Required when
using persistence. Can be specified as BasePrms.NONE (default).public static java.lang.Long diskSynchronous
diskStoreName is set.public static java.lang.Long enableAsyncConflation
public static java.lang.Long enableGateway
public static java.lang.Long enableOffHeapMemory
public static java.lang.Long enableSubscriptionConflation
public static java.lang.Long entryIdleTimeout
BasePrms.NONE (no expiration).
Example: To use 30 seconds with destroy in the first region, the defaults
in the second region, 60 seconds with invalidate in the third region, and
no expiration in the fourth region, specify:
30 destroy, default, 60 invalidate, none
public static java.lang.Long entryTimeToLive
BasePrms.NONE (no expiration).
See entryIdleTimeout for an example.
public static java.lang.Long evictionAttributes
BasePrms.NONE (no eviction), as can the
object sizer.
If the eviction algorithm is "lruHeapPercentage", also set ResourceManagerPrms.evictionHeapPercentage as needed.
If the eviction action requires overflow to disk, diskStoreName
must also be set.
Valid algorithms and optional fields:
"none"
"lruEntryCount" maximumEntries(int) evictionAction(String)
"lruHeapPercentage" objectSizer(String), must be Serializable evictionAction(String)
"lruMemorySize" maximumMegabytes(int) objectSizer(String), must be Serializable evictionAction(String)
Example: To use entry count eviction on the first region, heap eviction
on the second, memory size eviction on the third, and no eviction on the
fourth, the value might look something like this:
lruEntryCount default overflowToDisk,
lruHeapPercentage default overflowToDisk,
lruMemorySize default mytests.MyClass,
none
public static java.lang.Long gatewaySenderNames
GatewaySenderPrms.names. Can be specified as BasePrms.NONE
(default).GatewaySenderPrmspublic static java.lang.Long hdfsStoreName
public static java.lang.Long hdfsWriteOnly
public static java.lang.Long ignoreJTA
public static java.lang.Long indexMaintenanceSynchronous
public static java.lang.Long initialCapacity
public static java.lang.Long interestPolicy
public static java.lang.Long keyConstraint
BasePrms.NONE.public static java.lang.Long loadFactor
public static java.lang.Long lockGrantor
public static java.lang.Long membershipAttributes
BasePrms.NONE.
Example: To use roles "Buyer" and "Seller" on the first region, no roles
on the second, and role "Taxer" on the third, the value might look
something like this:
Buyer:Seller default reinitialize, none, Taxer reconnect
public static java.lang.Long multicastEnabled
GemFirePrms.enableMcast.public static java.lang.Long partitionName
PartitionPrms.names. Can be specified as BasePrms.NONE (default).
If the dataPolicy partitions the region, this must be set to a
non-default value.public static java.lang.Long poolName
PoolPrms.names. Can be specified as BasePrms.NONE
(default).public static java.lang.Long regionIdleTimeout
BasePrms.NONE (no expiration).
See entryIdleTimeout for an example.
public static java.lang.Long regionName
DEFAULT_REGION_NAME.public static java.lang.Long regionTimeToLive
BasePrms.NONE (no expiration).
See entryIdleTimeout for an example.
public static java.lang.Long scope
public static java.lang.Long statisticsEnabled
public static java.lang.Long valueConstraint
BasePrms.NONE.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.