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 Long |
contactAlgorithm
(Comma-separated String pair(s))
Contact algorithm used to autogenerate contacts for each pool.
|
static Long |
contactNum
(int(s))
Number of contacts for each pool, chosen according to
#contactAlgorithm. |
static Long |
distributedSystem
(String(s))
Name of distributed system from which to select contacts, as found
in
hydra.GemFirePrms-distributedSystem. |
static Long |
freeConnectionTimeout
(int(s))
Free connection timeout for each pool, in milliseconds.
|
static Long |
idleTimeout
(long(s))
Idle timeout for each pool, in milliseconds.
|
static Long |
loadConditioningInterval
(int(s))
Load conditioning interval for each pool, in milliseconds.
|
static Long |
maxConnections
(int(s))
Maximum connections for each pool.
|
static Long |
minConnections
(int(s))
Minimum connections for each pool.
|
static Long |
multiuserAuthentication
(boolean(s))
Multiuser authentication for each pool.
|
static Long |
names
(String(s))
Logical names of the pool descriptions and actual names of the pools.
|
static Long |
pingInterval
(long(s))
Ping interval for each pool, in milliseconds.
|
static Long |
prSingleHopEnabled
(boolean(s))
PR single hop enabled for each pool.
|
static Long |
readTimeout
(int(s))
Read timeout for each pool, in milliseconds.
|
static Long |
retryAttempts
(int(s))
Retry attempts for each pool.
|
static Long |
serverGroup
(String(s))
Server group for each pool.
|
static Long |
socketBufferSize
(int(s))
Socket buffer size for each pool, in bytes.
|
static Long |
statisticInterval
(int(s))
Statistic interval for each pool, in milliseconds.
|
static Long |
subscriptionAckInterval
(int(s))
Subscription ack interval for each pool, in milliseconds.
|
static Long |
subscriptionEnabled
(boolean(s))
Subscription enabled for each pool.
|
static Long |
subscriptionMessageTrackingTimeout
(int(s))
Subscription message tracking timeout for each pool, in milliseconds.
|
static Long |
subscriptionRedundancy
(int(s))
Subscription redundancy for each pool.
|
static Long |
threadLocalConnections
(boolean(s))
Thread local connections for each pool.
|
| Constructor and Description |
|---|
PoolPrms() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabprotected static final int ALL_AVAILABLE
contactNum.public static Long names
public static 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 Long contactNum
#contactAlgorithm. Defaults to ALL_AVAILABLE.public static Long distributedSystem
hydra.GemFirePrms-distributedSystem. Defaults to null
(all available). Used by contact algorithms in PoolHelper.public static Long freeConnectionTimeout
public static Long idleTimeout
public static Long loadConditioningInterval
public static Long minConnections
public static Long maxConnections
public static Long multiuserAuthentication
public static Long pingInterval
public static Long prSingleHopEnabled
public static Long readTimeout
public static Long retryAttempts
public static Long serverGroup
BridgePrms.groups. Defaults to the default server group.public static Long socketBufferSize
public static Long statisticInterval
public static Long subscriptionAckInterval
public static Long subscriptionEnabled
public static Long subscriptionMessageTrackingTimeout
subscriptionEnabled is false.public static Long subscriptionRedundancy
subscriptionEnabled is false.public static Long threadLocalConnections
public static void main(String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.