public class CQUtilPrms extends BasePrms
| Modifier and Type | Field and Description |
|---|---|
static Long |
clientEntryOperations
(Vector of Strings) A list of entry operations allowed on a client,
as long as the region size is < regionSizeThreshold.
|
static Long |
clientInFeederVm
(boolean) Whether or not the ops client is in a feeder task (in same DS w/bridge)
Used to determine if INVALIDATE events should be seen in client VMs
|
static Long |
cqListener
(String) ClassName for CQListener
|
static Long |
CQsOn
(boolean) If true (the default), then the test is run with cqs executing, false
otherwise.
|
static Long |
createIndex
(boolean) if true, bridges will create index.
|
static Long |
createMktValueIndex
(boolean) if true, bridges will create functional index on mktValue.
|
static Long |
createPrimaryIndex
(boolean) if true, bridges will create primary index on secId.
|
static Long |
createQtyIndex
(boolean) if true, bridges will create functional index on qty.
|
static Long |
edgePutAndVerify
(boolean) edges perform put operation and verify results
|
static Long |
edgeThreads
(int) The number of edge threads.
|
static Long |
edgeThreadsPerVM
(int) The number of edge threads per vm
|
static Long |
entryOperations
(Vector of Strings) A list of the operations on a region entry that this
test is allowed to do, as long as the region
size is < regionSizeThreshold.
|
static Long |
exactCounterValue
(boolean) Whether or not to require the exact CQEvent count (vs.
|
static Long |
feederThreads
(int) The number of feeder threads.
|
static Long |
highAvailability
(boolean) True if the test is doing high availability, false otherwise.
|
static Long |
logCQOperations
(boolean) Whether or not to log the results of operations initiated by
doCQOperations().
|
static Long |
lowerThreshold
(int) The size of the partitioned region that will trigger the
test to choose its operations from lowerThresholdOperations.
|
static long |
lowerThresholdClientOperations
(Vector of Strings) A list of the operations on a region entry that this
test is allowed to do when the region size falls below
lowerThresold in a bridge client.
|
static Long |
lowerThresholdOperations
(Vector of Strings) A list of the operations on a region entry that this
test is allowed to do when the region size falls below
lowerThresold.
|
static Long |
lowerThresholdServerOperations
(Vector of Strings) A list of the operations on a region entry that this
test is allowed to do when the region size falls below
lowerThresold in a bridge server.
|
static Long |
maxPutAllSize
(int) used to determine the maximum size of the putAllMap.
|
static Long |
minPutAllSize
(int) used to determine the mininum size of putAllMap.
|
static Long |
numBridges
(int) The number of bridge vms.
|
static Long |
numKeys
(int) The number of keys in the region.
|
static Long |
numNewKeys
(int) The number of new keys to add to the region.
|
static Long |
numOpsPerTask
(int) The global size of the partitioned region that will trigger the
test to choose its operations from thresholdOperations.
|
static Long |
numQueriesPerClientVM
(String) The number of queries to execute per client VM in this test run.
|
static Long |
numVMsToStop
(int) The number of VMs to stop at a time during an HA test.
|
static Long |
objectType |
static Long |
primary
(String) used for query purpose, only entry operations on this key will be a qualified cq event
|
static Long |
queryDepth
(String) The number of levels in a QueryObject, which implies the number of
levels in a query.
|
static Long |
QueryServicePoolName |
static Long |
QueryServiceUsingPool
(boolean) If true, then the test is run by obtaining QueryService from Pool, false
the QueryService will be obtained using Cache.
|
static Long |
registerInterest
(boolean) Whether or not the CQEventTest initializeClientRegion method will
also registerInterest (in all keys)
|
static Long |
secondsToRun
(int) The number of seconds to run a test (currently used for concurrent tests)
to terminate the test.
|
static Long |
serverEntryOperations
(Vector of Strings) A list of entry operations allowed on a server,
as long as the region size is < regionSizeThreshold.
|
static Long |
stopModes
(String) The possible stop modes for stopping a VM.
|
static Long |
testPrimaryIndex
(boolean) use certain query strings to test primary index.
|
static Long |
upperThreshold
(int) The upper size of the partitioned region that will trigger the
test to choose its operations from upperThresholdOperations.
|
static Long |
upperThresholdClientOperations
(Vector of Strings) A list of the operations on a region entry that this
test is allowed to do when the region exceeds
upperThresold in a bridge client.
|
static Long |
upperThresholdOperations
(Vector of Strings) A list of the operations on a region entry that this
test is allowed to do when the region exceeds
upperThresold.
|
static Long |
upperThresholdServerOperations
(Vector of Strings) A list of the operations on a region entry that this
test is allowed to do when the region exceeds
upperThresold in a bridge server.
|
static Long |
useCQ
(boolean) Whether or not to execute CQ related operations
Defaults to false
|
static Long |
useDeltaObjects
(boolean) True if the test should use delta objects.
|
static Long |
useUniqueKeys
(boolean) If true, then each thread uses a unique set of keys for its operations,
false otherwise.
|
static Long |
valueConstraint
(String) valueConstraint class name
|
| Constructor and Description |
|---|
CQUtilPrms() |
| Modifier and Type | Method and Description |
|---|---|
static com.gemstone.gemfire.cache.query.CqListener |
getCQListener()
Returns the
CQListener to be used in registering CQs via CQUtil |
static String |
getQueryServicePoolName() |
static String |
getRegionPoolName() |
static void |
main(String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static Long useCQ
public static Long cqListener
public static Long logCQOperations
public static Long entryOperations
public static Long serverEntryOperations
public static Long clientEntryOperations
public static Long lowerThreshold
public static Long lowerThresholdOperations
public static Long lowerThresholdServerOperations
public static long lowerThresholdClientOperations
public static Long upperThreshold
public static Long upperThresholdOperations
public static Long upperThresholdServerOperations
public static Long upperThresholdClientOperations
public static Long numOpsPerTask
public static Long highAvailability
public static Long secondsToRun
public static Long numVMsToStop
public static Long stopModes
public static Long queryDepth
public static Long numBridges
public static Long feederThreads
public static Long edgeThreads
public static Long edgeThreadsPerVM
public static Long edgePutAndVerify
public static Long testPrimaryIndex
public static Long primary
public static Long createPrimaryIndex
public static Long createQtyIndex
public static Long createMktValueIndex
public static Long createIndex
public static Long minPutAllSize
public static Long maxPutAllSize
public static Long useUniqueKeys
public static Long numQueriesPerClientVM
public static Long valueConstraint
public static Long registerInterest
public static Long clientInFeederVm
public static Long numNewKeys
public static Long CQsOn
public static Long useDeltaObjects
public static Long numKeys
public static Long exactCounterValue
public static Long QueryServiceUsingPool
public static Long QueryServicePoolName
public static Long objectType
public static com.gemstone.gemfire.cache.query.CqListener getCQListener()
CQListener to be used in registering CQs via CQUtilCQListenerpublic static String getQueryServicePoolName()
public static String getRegionPoolName()
public static void main(String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.