public class TxPrms extends BasePrms
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Long |
checkEventCounters
(boolean) Boolean to indicate if event counters (CacheListener & TxListener)
are to be maintained & validated.
|
static java.lang.Long |
checkTxEventOrder
(boolean) Boolean to indicate if event counters (CacheListener & TxListener)
are to be maintained & validated.
|
static java.lang.Long |
commitPercentage
(int)
Percentage of transactions to commit (vs.
|
static int |
CommitState_afterApplyChanges |
static int |
CommitState_afterConflictCheck |
static int |
CommitState_afterIndividualCommit |
static int |
CommitState_afterIndividualSend |
static int |
CommitState_afterReleaseLocalLocks |
static int |
CommitState_afterReservation |
static int |
CommitState_afterSend |
static int |
CommitState_afterSendCommit |
static int |
CommitState_afterSendRollback |
static int |
CommitState_beforeSend |
static int |
CommitState_duringIndividualCommit |
static int |
CommitState_duringIndividualSend |
static java.lang.Long |
commitStateTrigger
If defined, get the commitStatus to trigger a VM kill
|
static java.lang.Long |
excludeRegionName
Name of region to exclude from TxUtil (getRandomRegions, doOperations, etc).
|
static java.lang.Long |
executeNonTxOperations
(boolean) A task attribute to control whether the doOperations() method
performs random operations (not part of a transaction).
|
static java.lang.Long |
isPartitionedRegion
(boolean) isPartitionedRegion
For peer tests, true indicates that the peer client is using partitioned regions
For client/server tests, true indicates that the server is hosting a partitioned region
Defaults to false.
|
static java.lang.Long |
killRemoteTxVm
(boolean) Which VM to kill during proxyDistIntegrity tests.
|
static java.lang.Long |
maxKeys
(int)
Number of entries to create (per region) initially
|
static java.lang.Long |
numOps
(int) The number of operations to do when TxUtil.doOperations() is called.
|
static java.lang.Long |
numRootRegions
(int)
number of root regions to generate
|
static java.lang.Long |
numSubRegions
(int)
number of subregions to generate for each region
|
static java.lang.Long |
operations
(Vector of Strings) A list of the operations on a region OR region entries
that this test is allowed to do.
|
static java.lang.Long |
regionDepth
(int)
depth of each region tree
|
static java.lang.Long |
regionOpPercentage
(int)
Percentage of operations that are region operations (ie region inval, destroy)
Note that this is not honored for calling TxUtil.doOperations.
|
static java.lang.Long |
tasksInTxPercentage
(int)
Percentage of tasks that run in a transaction.
|
static java.lang.Long |
txListener
Class name of transaction listener to use.
|
static java.lang.Long |
txWriter
Class name of transaction writer to use.
|
static java.lang.Long |
updateStrategy
(String)
How the test should handle making copies of objects for updates.
|
static java.lang.String |
USE_COPY_HELPER |
static java.lang.String |
USE_COPY_ON_READ |
static java.lang.Long |
viewDataPolicies
(String) Indicates the dataPolicy attributes of the 3 distributed caches
that the View Tests will use for its regions.
|
| Constructor and Description |
|---|
TxPrms() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkEventCounters() |
static boolean |
checkTxEventOrder() |
static int |
getCommitPercentage() |
static int |
getCommitStateTrigger(java.lang.String commitStatePrm) |
static boolean |
getExecuteNonTxOperations() |
static int |
getRegionOpPercentage() |
static int |
getTasksInTxPercentage() |
static com.gemstone.gemfire.cache.TransactionListener |
getTxListener() |
static com.gemstone.gemfire.cache.TransactionWriter |
getTxWriter() |
static java.lang.String |
getUpdateStrategy()
Get a valid value for the update strategy
|
static boolean |
isPartitionedRegion() |
static boolean |
killRemoteTxVm() |
static java.lang.String |
toStringForCommitStateTrigger(int commitStateTrigger) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static java.lang.Long excludeRegionName
public static java.lang.Long txListener
public static java.lang.Long txWriter
public static java.lang.Long operations
public static java.lang.Long isPartitionedRegion
public static java.lang.Long executeNonTxOperations
public static java.lang.Long checkEventCounters
public static java.lang.Long checkTxEventOrder
public static java.lang.Long numOps
public static java.lang.Long tasksInTxPercentage
public static java.lang.Long commitPercentage
public static java.lang.Long regionOpPercentage
public static java.lang.Long maxKeys
public static java.lang.Long numRootRegions
public static java.lang.Long numSubRegions
public static java.lang.Long regionDepth
public static java.lang.Long updateStrategy
public static final java.lang.String USE_COPY_HELPER
public static final java.lang.String USE_COPY_ON_READ
public static java.lang.Long commitStateTrigger
public static final int CommitState_afterReservation
public static final int CommitState_afterConflictCheck
public static final int CommitState_beforeSend
public static final int CommitState_duringIndividualSend
public static final int CommitState_afterIndividualSend
public static final int CommitState_duringIndividualCommit
public static final int CommitState_afterIndividualCommit
public static final int CommitState_afterApplyChanges
public static final int CommitState_afterReleaseLocalLocks
public static final int CommitState_afterSend
public static final int CommitState_afterSendCommit
public static final int CommitState_afterSendRollback
public static java.lang.Long killRemoteTxVm
public static java.lang.Long viewDataPolicies
public static com.gemstone.gemfire.cache.TransactionListener getTxListener()
public static com.gemstone.gemfire.cache.TransactionWriter getTxWriter()
public static boolean isPartitionedRegion()
public static boolean getExecuteNonTxOperations()
public static boolean checkEventCounters()
public static boolean checkTxEventOrder()
public static int getTasksInTxPercentage()
public static int getCommitPercentage()
public static int getRegionOpPercentage()
public static java.lang.String getUpdateStrategy()
public static int getCommitStateTrigger(java.lang.String commitStatePrm)
public static java.lang.String toStringForCommitStateTrigger(int commitStateTrigger)
public static boolean killRemoteTxVm()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.