public class PrTxPrms extends BasePrms
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Long |
alwaysUsePartitionedRegions
(boolean) Whether or not to always target PRs in the tx ops.
|
static int |
CALLBACK_RESOLVER |
static java.lang.Long |
customPartitionMethod
(String) Designates how CustomPartitioning will be configured
Can be either of:
PartitionResolver - Defines PartitionPrms-partitionResolver
CallbackResolver - callback implements PartitionResolver interface
KeyResolver - Class used for keys implements PartitionResolver interface
|
static java.lang.Long |
insertRegion
(String) Name of 'insert' region (see parRegTxQuery.conf)
|
static int |
KEY_RESOLVER |
static java.lang.Long |
killLocalTxVm
(boolean) Which VM to kill during parRegIntegrity tests.
|
static java.lang.Long |
maxKeys
(int) maxKeys (used by PrTxQueryTest.populateRegions)
Defaults to 1000.
|
static int |
NONE |
static java.lang.Long |
numColocatedRegions
(int) numColocatedRegions (for colocatedWith testing)
Defaults to 1.
|
static java.lang.Long |
numOpsPerTask
(int) Workload based methods can use this param to control the
number of operations executed.
|
static int |
PARTITION_RESOLVER |
static java.lang.Long |
regionConfigNames
(String)
Defaults to null.
|
static java.lang.Long |
sameKeyColocatedRegions
(boolean) Whether or not to target the same key across all regions.
|
static java.lang.Long |
txListener
Class name of transaction listener to use.
|
static java.lang.Long |
updateRegions
(String) List of update regions (see parRegTxQuery.conf)
|
static java.lang.Long |
useFunctionExecution
(boolean) Whether or not to execute some tx ops via function execution.
|
static java.lang.Long |
useLocalKeySet
(boolean) Whether or not the keySet (for targeting operations) is
local to the tx initiator or remote.
|
| Constructor and Description |
|---|
PrTxPrms() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
alwaysUsePartitionedRegions() |
static java.lang.String |
customPartitionMethodToString(int method) |
static int |
getCustomPartitionMethod() |
protected static java.lang.String |
getInsertRegion() |
static int |
getMaxKeys() |
static int |
getNumColocatedRegions() |
protected static java.util.List |
getRegionConfigNames() |
static com.gemstone.gemfire.cache.TransactionListener |
getTxListener() |
protected static java.util.List |
getUpdateRegions() |
static boolean |
killLocalTxVm() |
static boolean |
sameKeyColocatedRegions() |
static boolean |
useFunctionExecution() |
static boolean |
useLocalKeySet() |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static final int NONE
public static final int PARTITION_RESOLVER
public static final int CALLBACK_RESOLVER
public static final int KEY_RESOLVER
public static java.lang.Long regionConfigNames
public static java.lang.Long updateRegions
public static java.lang.Long insertRegion
public static java.lang.Long numColocatedRegions
public static java.lang.Long maxKeys
public static java.lang.Long numOpsPerTask
public static java.lang.Long useLocalKeySet
public static java.lang.Long killLocalTxVm
public static java.lang.Long alwaysUsePartitionedRegions
public static java.lang.Long useFunctionExecution
public static java.lang.Long sameKeyColocatedRegions
public static java.lang.Long customPartitionMethod
public static java.lang.Long txListener
protected static java.util.List getRegionConfigNames()
protected static java.util.List getUpdateRegions()
protected static java.lang.String getInsertRegion()
public static int getNumColocatedRegions()
public static int getMaxKeys()
public static boolean useLocalKeySet()
public static boolean killLocalTxVm()
public static boolean alwaysUsePartitionedRegions()
public static boolean useFunctionExecution()
public static boolean sameKeyColocatedRegions()
public static int getCustomPartitionMethod()
public static java.lang.String customPartitionMethodToString(int method)
public static com.gemstone.gemfire.cache.TransactionListener getTxListener()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.