public class GatewayPrms extends BasePrms
GatewayDescription, which are used to create gateway hubs.
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 of a parameter can be set to BasePrms.DEFAULT, except where noted.
This uses the product default, except where noted.
Values and fields can be set to BasePrms.NONE where noted, with the
documented effect.
Values 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.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Long |
alertThreshold
(int(s))
Alert threshold for each gateway queue, in milliseconds.
|
protected static int |
ALL_AVAILABLE
Default for
endpointNumPerDs. |
static java.lang.Long |
batchConflation
(boolean(s))
Batch conflation for each gateway queue.
|
static java.lang.Long |
batchSize
(int(s))
Batch size for each gateway queue.
|
static java.lang.Long |
batchTimeInterval
(int(s))
Batch time interval for each gateway queue.
|
static java.lang.Long |
concurrencyLevel
(int(s))
Concurrency level for each gateway.
|
static java.lang.Long |
diskStoreName
(String(s))
Name of logical disk store configuration (and actual disk store name)
for each gateway queue, as found in
DiskStorePrms.names. |
static java.lang.Long |
enablePersistence
(boolean(s))
Enable persistence for each gateway queue.
|
static java.lang.Long |
endpointNumPerDs
(int(s))
Number of endpoints per distributed system for each gateway, chosen from
available gateway hubs.
|
static java.lang.Long |
listeners
(Comma-separated String(s))
Class names of listeners for each region.
|
static java.lang.Long |
listenersSingleton
(boolean(s))
Whether the
listeners for each gateway are singletons across
all actual gateways created with this description. |
static java.lang.Long |
maximumQueueMemory
(int(s))
Maximum queue memory for each gateway.
|
static java.lang.Long |
names
(String(s))
Logical names of the gateway descriptions.
|
static java.lang.Long |
orderPolicy
(String(s))
Order policy for each gateway.
|
static java.lang.Long |
socketBufferSize
(int(s))
Socket buffer size for each gateway.
|
| Constructor and Description |
|---|
GatewayPrms() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabprotected static final int ALL_AVAILABLE
endpointNumPerDs.public static java.lang.Long names
public static java.lang.Long alertThreshold
public static java.lang.Long batchConflation
public static java.lang.Long batchSize
public static java.lang.Long batchTimeInterval
public static java.lang.Long concurrencyLevel
orderPolicy,
which can be set in the concurrent case.public static java.lang.Long diskStoreName
DiskStorePrms.names.
Required when enablePersistence is true. Can be specified
as BasePrms.NONE (default).public static java.lang.Long enablePersistence
diskStoreName.public static java.lang.Long endpointNumPerDs
public static java.lang.Long listeners
BasePrms.NONE. See listenersSingleton for control over
instance creation.
Example: To use ClassA and ClassB for the first gateway, no listeners for
the second gateway, and ClassC for the third gateway, specify:
ClassA ClassB, none, ClassC
public static java.lang.Long listenersSingleton
listeners for each gateway are singletons across
all actual gateways created with this description. Defaults to false.public static java.lang.Long maximumQueueMemory
public static java.lang.Long orderPolicy
concurrencyLevel.public static java.lang.Long socketBufferSize
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.