public class TxPrms extends BasePrms
| Modifier and Type | Field and Description |
|---|---|
static Long |
checkEventCounters
(boolean) Boolean to indicate if event counters (CacheListener & TxListener)
are to be maintained & validated.
|
static Long |
checkTxEventOrder
(boolean) Boolean to indicate if event counters (CacheListener & TxListener)
are to be maintained & validated.
|
static 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 Long |
commitStateTrigger
If defined, get the commitStatus to trigger a VM kill
|
static Long |
excludeRegionName
Name of region to exclude from TxUtil (getRandomRegions, doOperations, etc).
|
static Long |
executeNonTxOperations
(boolean) A task attribute to control whether the doOperations() method
performs random operations (not part of a transaction).
|
static 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 Long |
killRemoteTxVm
(boolean) Which VM to kill during proxyDistIntegrity tests.
|
static Long |
maxKeys
(int)
Number of entries to create (per region) initially
|
static Long |
numOps
(int) The number of operations to do when TxUtil.doOperations() is called.
|
static Long |
numRootRegions
(int)
number of root regions to generate
|
static Long |
numSubRegions
(int)
number of subregions to generate for each region
|
static Long |
operations
(Vector of Strings) A list of the operations on a region OR region entries
that this test is allowed to do.
|
static Long |
regionDepth
(int)
depth of each region tree
|
static 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 Long |
tasksInTxPercentage
(int)
Percentage of tasks that run in a transaction.
|
static Long |
txListener
Class name of transaction listener to use.
|
static Long |
txWriter
Class name of transaction writer to use.
|
static Long |
updateStrategy
(String)
How the test should handle making copies of objects for updates.
|
static String |
USE_COPY_HELPER |
static String |
USE_COPY_ON_READ |
static 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(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 String |
getUpdateStrategy()
Get a valid value for the update strategy
|
static boolean |
isPartitionedRegion() |
static boolean |
killRemoteTxVm() |
static String |
toStringForCommitStateTrigger(int commitStateTrigger) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static Long excludeRegionName
public static Long txListener
public static Long txWriter
public static Long operations
public static Long isPartitionedRegion
public static Long executeNonTxOperations
public static Long checkEventCounters
public static Long checkTxEventOrder
public static Long numOps
public static Long tasksInTxPercentage
public static Long commitPercentage
public static Long regionOpPercentage
public static Long maxKeys
public static Long numRootRegions
public static Long numSubRegions
public static Long regionDepth
public static Long updateStrategy
public static final String USE_COPY_HELPER
public static final String USE_COPY_ON_READ
public static 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 Long killRemoteTxVm
public static 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 String getUpdateStrategy()
public static int getCommitStateTrigger(String commitStatePrm)
public static String toStringForCommitStateTrigger(int commitStateTrigger)
public static boolean killRemoteTxVm()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.