public class GemFirePrms extends BasePrms
GemFireDescription, which are
used to configure and manage both gemfire systems and distributed systems.
The number of instances is gated by names. The remaining parameters
have the indicated default values. If fewer non-default values than names
are given for these parameters, the remaining instances will use the last
value in the list. See $JTESTS/hydra/hydra.txt for more details.
| Modifier and Type | Field and Description |
|---|---|
static Long |
ackSevereAlertThreshold
(int(s))
The ack severe alert threshold, in seconds, for this description.
|
static Long |
ackWaitThreshold |
static Long |
allowMcastWithIPv6
Whether to allow multicast when IPv6 is used.
|
static Long |
archiveDiskSpaceLimit |
static Long |
archiveFileSizeLimit |
static Long |
asyncDistributionTimeout
(int)
The async-distribution-timeout: the time in ms to wait on socketWrite
before queuing begins.
|
static Long |
asyncMaxQueueSize
(int)
The async-max-queue-size: value (in MB?) of the maximum queue
size supported.
|
static Long |
asyncQueueTimeout
(int)
The async-queue-timeout: the time in ms to queue before declaring
a subscriber (slow) and triggering a High Priority disconnect to
that slow subscriber.
|
static Long |
conflateEvents
(String(s))
Whether to conflate events for client queues.
|
static Long |
conserveSockets
(boolean)
Should gemfire conserveSockets? Defaults to "true", the minimal number
of sockets will be used when connecting to the distributed system.
|
static String |
DEFAULT_DISTRIBUTED_SYSTEM_NAME |
static Long |
deltaPropagation
(boolean(s))
Whether to enable delta propagation.
|
static Long |
disableAutoReconnect
(boolean(s))
Whether automatic reconnect after a forced disconnect is disabled.
|
static Long |
disableTcp |
static String |
DISTRIBUTED_SYSTEM_NAME_PROPERTY |
static Long |
distributedSystem
(String(s))
Used to group nodes into distributed systems.
|
static Long |
durableClientTimeout
(int)
The number of seconds a disconnected durable client's queue is kept alive (and updates accumulated) by
the server.
|
static Long |
enableDurableClient
(boolean)
Whether to configure as a durableClient.
|
static Long |
enableMcast
Whether to enable multicast for the distributed system.
|
static Long |
enableNetworkPartitionDetection
(boolean(s))
Whether to enable network partition detection for this description.
|
static Long |
enableTimeStatistics |
static Long |
enforceUniqueHost
(Boolean(s))
Whether to enforce unique hosts for this description.
|
static Long |
extraLocatorClassPath
(String(s))
Extra classpath for master-managed locators, if used.
|
static Long |
extraLocatorVMArgs
(String)
Gives the extra VM arguments passed to all master-managed locators.
|
static String |
GEMFIRE_NAME_PROPERTY |
static Long |
hostNames
(String(s))
Logical names of the host descriptions to use when creating gemfire
systems.
|
static Long |
isPeerLocator
Whether to turn on peer locator in locator(s).
|
static Long |
isServerLocator
Whether to turn on server locator in locator(s).
|
static Long |
jmxManager
(boolean(s))
Willingness to be a JMX manager.
|
static Long |
jmxManagerAccessFile
(String(s))
Path to JMX manager access file.
|
static Long |
jmxManagerHttpPort
(boolean(s))
Whether to configure an autogenerated port for the JMX manager http
server to use so that the GemFire Pulse application can connect to the
manager on the port.
|
static Long |
jmxManagerPasswordFile
(String(s))
Path to JMX manager password file.
|
static Long |
jmxManagerPort
(boolean(s))
Whether to configure an autogenerated port for the JMX manager to use
so that remote tools can connect to the manager on the port.
|
static Long |
jmxManagerSSL
(boolean(s))
Whether the JMX manager should use SSL.
|
static Long |
jmxManagerStart
(boolean(s))
Whether to start the JMX manager on cache creation.
|
static Long |
lockMemory
(boolean(s))
The "lock-memory" property.
|
static Long |
logDiskSpaceLimit |
static Long |
logFileSizeLimit |
static Long |
logLevel |
static String |
LONER
Name for loner distributed systems.
|
static Long |
maxNumReconnectTries |
static Long |
maxWaitTimeForReconnect |
static Long |
mcastAddress |
static Long |
mcastFlowControlByteAllowance |
static Long |
mcastFlowControlRechargeBlockMs |
static Long |
mcastFlowControlRechargeThreshold |
static Long |
mcastPort |
static Long |
mcastRecvBufferSize |
static Long |
mcastSendBufferSize |
static Long |
mcastTtl
See
mcast-ttl in DistributedSystem. |
static Long |
membershipPortRange |
static Long |
memberTimeout |
static Long |
names
(String(s))
Logical names of the GemFire descriptions.
|
static String |
NONE |
static Long |
offHeapMemorySize
(String(s))
The total size of off-heap memory in the form
|
static Long |
redundancyZone
(String(s))
The redundancy zone for this description.
|
static Long |
remoteDistributedSystems
(Comma-separated list of String(s))
Remote distributed system names to use when connecting as a locator
with
DistributedSystemHelper in a WAN configuration. |
static Long |
roles
(String(s))
Roles to use when creating gemfiresystems.
|
static Long |
securityName
(String(s))
Name of logical security configuration, as found in
SecurityPrms.names. |
static Long |
socketBufferSize
(Long)
The size of each socket buffer, in bytes.
|
static Long |
socketLeaseTime
(Long)
The number of ms a thread can keep exclusive access to a socket
that it is not actively using.
|
static Long |
sslName
(String(s))
Name of logical SSL configuration, as found in
SSLPrms.names. |
static Long |
statisticSampleRate |
static Long |
statisticSamplingEnabled
Whether to gather statistics.
|
static Long |
stopSystemsAfterTest
(boolean(s))
Tells hydra whether to stop system resources at the end of the test.
|
static Long |
tcpPort |
static Long |
udpFragmentSize |
static Long |
udpRecvBufferSize |
static Long |
udpSendBufferSize |
static Long |
useLocator
Whether to use Locator(s) for the distributed system.
|
| Constructor and Description |
|---|
GemFirePrms() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
getExtraLocatorVMArgs(int i) |
static void |
main(String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static final String GEMFIRE_NAME_PROPERTY
public static final String DISTRIBUTED_SYSTEM_NAME_PROPERTY
public static final String DEFAULT_DISTRIBUTED_SYSTEM_NAME
public static final String LONER
public static final String NONE
public static Long names
public static Long distributedSystem
DEFAULT_DISTRIBUTED_SYSTEM_NAME.
To create a loner distributed system, use LONER, which is
reserved for this purpose (and is case-insensitive).
public static Long remoteDistributedSystems
DistributedSystemHelper in a WAN configuration. Defaults
to NONE. This is used to set the remote-locators
property to the locators that have been created for each remote
distributed system with DistributedSystemHelper.createLocator().
Suitable test configuration functions to use with the WAN topology include files in $JTESTS/hydraconfig are:
// for a ring-connected locator topology
fcn "hydra.TestConfigFcns.generateNamesRepeatedlyShift
(\"ds_\", ${wanSites}, ${locatorHostsPerSite}, false, true)" ncf,
none;
// for a fully-connected locator topology
fcn "hydra.TestConfigFcns.generateNameListsRepeatedlyShift
(\"ds_\", ${wanSites}, ${locatorHostsPerSite})" ncf,
none;
public static Long extraLocatorVMArgs
Prms.manageLocatorAgents is false.
Defaults to null.public static Long extraLocatorClassPath
Prms.manageLocatorAgents is false.
Default is the corresponding
entry in HostPrms.testDirs for the target host O/S, and
lib/gemfire.jar from the corresponding entry in
HostPrms.gemfireHomes, if it is defined. The extra
classpaths, if any, are prepended to the defaults. All occurrences of
$JTESTS and $GEMFIRE in a path are expanded relative to -DJTESTS and
-Dgemfire.home on the target host.
Gives the extra VM arguments passed to all master-managed locators.public static Long hostNames
HostPrms.names,
HostDescriptionpublic static Long stopSystemsAfterTest
public static Long ackWaitThreshold
DistributionConfig.DEFAULT_ACK_WAIT_THRESHOLDpublic static Long logLevel
DistributionConfig.DEFAULT_LOG_LEVELpublic static Long logFileSizeLimit
DistributionConfig.DEFAULT_LOG_FILE_SIZE_LIMITpublic static Long logDiskSpaceLimit
DistributionConfig.DEFAULT_LOG_DISK_SPACE_LIMITpublic static Long statisticSamplingEnabled
public static Long statisticSampleRate
DistributionConfig.DEFAULT_STATISTIC_SAMPLE_RATEpublic static Long enableTimeStatistics
DistributionConfig.DEFAULT_ENABLE_TIME_STATISTICSpublic static Long archiveFileSizeLimit
DistributionConfig.DEFAULT_ARCHIVE_FILE_SIZE_LIMITpublic static Long archiveDiskSpaceLimit
DistributionConfig.DEFAULT_ARCHIVE_DISK_SPACE_LIMITpublic static Long enableMcast
public static Long useLocator
public static Long isPeerLocator
public static Long isServerLocator
public static Long allowMcastWithIPv6
IMPORTANT: This works around issues in our network that cause disruptive spikes. To test multicast with IPv6, first get approval from I.S. and run a short-lived test with their oversight.
public static Long mcastAddress
DistributionConfig.DEFAULT_MCAST_ADDRESSpublic static Long mcastPort
DistributionConfig.DEFAULT_MCAST_PORTpublic static Long mcastTtl
mcast-ttl in DistributedSystem. Defaults to 0.public static Long mcastSendBufferSize
DistributionConfig.DEFAULT_MCAST_SEND_BUFFER_SIZEpublic static Long mcastRecvBufferSize
DistributionConfig.DEFAULT_MCAST_RECV_BUFFER_SIZEpublic static Long mcastFlowControlByteAllowance
DistributionConfig.DEFAULT_MCAST_FLOW_CONTROLpublic static Long mcastFlowControlRechargeThreshold
DistributionConfig.DEFAULT_MCAST_FLOW_CONTROLpublic static Long mcastFlowControlRechargeBlockMs
DistributionConfig.DEFAULT_MCAST_FLOW_CONTROLpublic static Long udpFragmentSize
DistributionConfig.DEFAULT_UDP_FRAGMENT_SIZEpublic static Long udpSendBufferSize
com.gemstone.gemfire.distributed.internal.DistributionConfig#DEFAULT_UDP_SEND_BUFFER__SIZEpublic static Long udpRecvBufferSize
com.gemstone.gemfire.distributed.internal.DistributionConfig#DEFAULT_UDP_RECV_BUFFER__SIZEpublic static Long tcpPort
DistributionConfig.DEFAULT_TCP_PORTpublic static Long disableTcp
DistributionConfig.DEFAULT_DISABLE_TCPpublic static Long membershipPortRange
For example:
hydra.GemFirePrms-membershipPortRange = 60000-61000;public static Long memberTimeout
DistributionConfig.DEFAULT_MEMBER_TIMEOUTpublic static Long conserveSockets
public static Long socketLeaseTime
public static Long socketBufferSize
public static Long asyncDistributionTimeout
public static Long asyncQueueTimeout
public static Long asyncMaxQueueSize
public static Long roles
public static Long maxWaitTimeForReconnect
public static Long maxNumReconnectTries
public static Long enableDurableClient
If true, the durable-client-id will be set to the logical VM name and
durableClientTimeout will be set. If false, values for
durableClientTimeout will be ignored.
If enabled, clients must invoke Cache.readyForEvents() for the
client to receive any updates from the server.
public static Long durableClientTimeout
enableDurableClient is false. Default = 300.public static Long conflateEvents
public static Long securityName
SecurityPrms.names. Can be specified as NONE (default).
See also sslName.
public static Long enforceUniqueHost
public static Long redundancyZone
public static Long ackSevereAlertThreshold
public static Long enableNetworkPartitionDetection
public static Long disableAutoReconnect
public static Long sslName
SSLPrms.names.
Can be specified as NONE (default).
See also securityName.
public static Long jmxManager
public static Long jmxManagerAccessFile
public static Long jmxManagerHttpPort
JMXManagerBlackboard. See also jmxManagerPort.public static Long jmxManagerPasswordFile
public static Long jmxManagerPort
JMXManagerBlackboard. See also jmxManagerHttpPort.public static Long jmxManagerSSL
jmxManagerPort and sslName. Defaults to false.public static Long jmxManagerStart
public static Long deltaPropagation
public static Long offHeapMemorySize
public static Long lockMemory
When set true, required jna-3.5.1.jar in the product library to be added to the classpath.
The heap memory locked is the amount the JVM is started with. Set -Xms the same as -Xmx to lock all heap.
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.