public class PoolPrms extends BasePrms
PoolDescription.
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 and fields of a parameter can be set to BasePrms.DEFAULT,
except where noted. This uses the product default, except where noted.
Values and fields 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 |
|---|---|
protected static int |
ALL_AVAILABLE
Default for
contactNum. |
static java.lang.Long |
contactAlgorithm
(Comma-separated String pair(s))
Contact algorithm used to autogenerate contacts for each pool.
|
static java.lang.Long |
contactNum
(int(s))
Number of contacts for each pool, chosen according to
#contactAlgorithm. |
static java.lang.Long |
distributedSystem
(String(s))
Name of distributed system from which to select contacts, as found
in
hydra.GemFirePrms-distributedSystem. |
static java.lang.Long |
freeConnectionTimeout
(int(s))
Free connection timeout for each pool, in milliseconds.
|
static java.lang.Long |
idleTimeout
(long(s))
Idle timeout for each pool, in milliseconds.
|
static java.lang.Long |
loadConditioningInterval
(int(s))
Load conditioning interval for each pool, in milliseconds.
|
static java.lang.Long |
maxConnections
(int(s))
Maximum connections for each pool.
|
static java.lang.Long |
minConnections
(int(s))
Minimum connections for each pool.
|
static java.lang.Long |
multiuserAuthentication
(boolean(s))
Multiuser authentication for each pool.
|
static java.lang.Long |
names
(String(s))
Logical names of the pool descriptions and actual names of the pools.
|
static java.lang.Long |
pingInterval
(long(s))
Ping interval for each pool, in milliseconds.
|
static java.lang.Long |
prSingleHopEnabled
(boolean(s))
PR single hop enabled for each pool.
|
static java.lang.Long |
readTimeout
(int(s))
Read timeout for each pool, in milliseconds.
|
static java.lang.Long |
retryAttempts
(int(s))
Retry attempts for each pool.
|
static java.lang.Long |
serverGroup
(String(s))
Server group for each pool.
|
static java.lang.Long |
socketBufferSize
(int(s))
Socket buffer size for each pool, in bytes.
|
static java.lang.Long |
statisticInterval
(int(s))
Statistic interval for each pool, in milliseconds.
|
static java.lang.Long |
subscriptionAckInterval
(int(s))
Subscription ack interval for each pool, in milliseconds.
|
static java.lang.Long |
subscriptionEnabled
(boolean(s))
Subscription enabled for each pool.
|
static java.lang.Long |
subscriptionMessageTrackingTimeout
(int(s))
Subscription message tracking timeout for each pool, in milliseconds.
|
static java.lang.Long |
subscriptionRedundancy
(int(s))
Subscription redundancy for each pool.
|
static java.lang.Long |
threadLocalConnections
(boolean(s))
Thread local connections for each pool.
|
| Constructor and Description |
|---|
PoolPrms() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabprotected static final int ALL_AVAILABLE
contactNum.public static java.lang.Long names
public static java.lang.Long contactAlgorithm
Contact algorithms must be of type public static List and
take two arguments: an int representing the contactNum and a String optionally naming the distributedSystem.
The returned list must contain contactNum objects either all
of type DistributedSystemHelper.Endpoint for which DistributedSystemHelper.Endpoint.isServerLocator is true, or of type
BridgeHelper.Endpoint. Each endpoint must be in the designated
distributed system, if specified.
Defaults to PoolHelper.getRandomContacts(int, String), which
returns server locators. The equivalent algorithm for bridge servers is
EdgeHelper.getRandomEndpoints(int, String). These are suitable
for hierarchical cache tests that do not use gateways.
Suitable choices for tests using hydraconfig/topology_wan_hct.inc
are PoolHelper.getRandomContactsInWanHctSite(int, String)
and EdgeHelper.getRandomEndpointsInWanHctSite(int, String).
Contact algorithms should generate contacts from hydra clients that host
server locators created and started using DistributedSystemHelper
as returned by DistributedSystemHelper.getContacts() and related
methods. Or, they should choose endpoints from hydra clients that host
bridge servers created and started using BridgeHelper as returned
by BridgeHelper.getEndpoints() and related methods.
public static java.lang.Long contactNum
#contactAlgorithm. Defaults to ALL_AVAILABLE.public static java.lang.Long distributedSystem
hydra.GemFirePrms-distributedSystem. Defaults to null
(all available). Used by contact algorithms in PoolHelper.public static java.lang.Long freeConnectionTimeout
public static java.lang.Long idleTimeout
public static java.lang.Long loadConditioningInterval
public static java.lang.Long minConnections
public static java.lang.Long maxConnections
public static java.lang.Long multiuserAuthentication
public static java.lang.Long pingInterval
public static java.lang.Long prSingleHopEnabled
public static java.lang.Long readTimeout
public static java.lang.Long retryAttempts
public static java.lang.Long serverGroup
BridgePrms.groups. Defaults to the default server group.public static java.lang.Long socketBufferSize
public static java.lang.Long statisticInterval
public static java.lang.Long subscriptionAckInterval
public static java.lang.Long subscriptionEnabled
public static java.lang.Long subscriptionMessageTrackingTimeout
subscriptionEnabled is false.public static java.lang.Long subscriptionRedundancy
subscriptionEnabled is false.public static java.lang.Long threadLocalConnections
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.