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