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 Long |
alertThreshold
(int(s))
Alert threshold for each gateway queue, in milliseconds.
|
protected static int |
ALL_AVAILABLE
Default for
endpointNumPerDs. |
static Long |
batchConflation
(boolean(s))
Batch conflation for each gateway queue.
|
static Long |
batchSize
(int(s))
Batch size for each gateway queue.
|
static Long |
batchTimeInterval
(int(s))
Batch time interval for each gateway queue.
|
static Long |
concurrencyLevel
(int(s))
Concurrency level for each gateway.
|
static 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 Long |
enablePersistence
(boolean(s))
Enable persistence for each gateway queue.
|
static Long |
endpointNumPerDs
(int(s))
Number of endpoints per distributed system for each gateway, chosen from
available gateway hubs.
|
static Long |
listeners
(Comma-separated String(s))
Class names of listeners for each region.
|
static Long |
listenersSingleton
(boolean(s))
Whether the
listeners for each gateway are singletons across
all actual gateways created with this description. |
static Long |
maximumQueueMemory
(int(s))
Maximum queue memory for each gateway.
|
static Long |
names
(String(s))
Logical names of the gateway descriptions.
|
static Long |
orderPolicy
(String(s))
Order policy for each gateway.
|
static Long |
socketBufferSize
(int(s))
Socket buffer size for each gateway.
|
| Constructor and Description |
|---|
GatewayPrms() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabprotected static final int ALL_AVAILABLE
endpointNumPerDs.public static Long names
public static Long alertThreshold
public static Long batchConflation
public static Long batchSize
public static Long batchTimeInterval
public static Long concurrencyLevel
orderPolicy,
which can be set in the concurrent case.public static Long diskStoreName
DiskStorePrms.names.
Required when enablePersistence is true. Can be specified
as BasePrms.NONE (default).public static Long enablePersistence
diskStoreName.public static Long endpointNumPerDs
public static 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 Long listenersSingleton
listeners for each gateway are singletons across
all actual gateways created with this description. Defaults to false.public static Long maximumQueueMemory
public static Long orderPolicy
concurrencyLevel.public static Long socketBufferSize
public static void main(String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.