public class UseCase3Prms extends BasePrms
| Modifier and Type | Class and Description |
|---|---|
static class |
UseCase3Prms.CacheOp |
static class |
UseCase3Prms.ClientName |
static class |
UseCase3Prms.RegionName |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Long |
allowNulls
(boolean)
Whether to allow gets to return null values without causing test failure.
|
static java.lang.Long |
batchSeconds
(int)
The number of seconds in each batch for the current task
Defaults to -1 (not usable).
|
static java.lang.Long |
batchTerminatorClass
(String)
The class name to invoke at the termination of each batch.
|
static java.lang.Long |
batchTerminatorMethod
(String)
The method to invoke to check for batch termination.
|
static java.lang.Long |
bulkOpMapSize
(int)
The number of entries in the bulk op map.
|
static java.lang.Long |
cacheOpSpec
(Comma-separated list of String/double pairs)
Maps each cacheOp to its percentage, which ranges from 0 to 100.
|
static java.lang.Long |
clientNameToBounce
(String)
The logical name of the client to bounce when executing
UseCase3Client.bounceTask(). |
static java.lang.Long |
interestBatchSize
(int)
The number of keys to register interest in at one time.
|
static java.lang.Long |
interestTotalKeys
(int)
The total number of keys to register interest in.
|
static java.lang.Long |
keyAllocation
(String)
The method to use when allocating keys to threads for cache operations.
|
static java.lang.Long |
keyAllocationChunkSize
(int)
The size of each "chunk" in a chunked
keyAllocation. |
static java.lang.Long |
keyType
(String)
Type of keys to create, as a fully qualified classname.
|
static java.lang.Long |
objectType
(String)
Type of objects to create, as a fully qualified classname.
|
static int |
OWN_KEY |
static int |
OWN_KEYS |
static int |
OWN_KEYS_CHUNKED |
static int |
OWN_KEYS_RANDOM_WRAP |
static int |
OWN_KEYS_WRAP |
static java.lang.Long |
regionConfigs
(List of String)
List of region configs to use when creating regions.
|
static java.lang.Long |
regionName
(String)
The name of a region as specified in the
regionSpec. |
static java.lang.Long |
regionSpec
(Comma-separated list of String/int pairs)
Maps each regionName to its maxKey, which range from 0 to maxKey - 1.
|
static java.lang.Long |
restartWaitSec
(int)
The number of seconds to wait before restarting a VM that executes a
UseCase3Client.bounceTask(). |
static int |
SAME_KEY |
static int |
SAME_KEYS |
static int |
SAME_KEYS_RANDOM_WRAP |
static int |
SAME_KEYS_WRAP |
static java.lang.Long |
sleepAfterOpMs
(int)
Time to sleep after each cache operation, in milliseconds.
|
static java.lang.Long |
stopWaitSec
(int)
The number of seconds to wait before stopping a VM that executes a
UseCase3Client.bounceTask(). |
static java.lang.Long |
taskTerminatorClass
(String)
The class name to invoke to check for task termination.
|
static java.lang.Long |
taskTerminatorMethod
(String)
The method to invoke to check for task termination.
|
static java.lang.Long |
useMeanKill
(boolean)
Whether to use a mean kill when executing
UseCase3Client.bounceTask(). |
| Constructor and Description |
|---|
UseCase3Prms() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allowNulls() |
static int |
getBatchSeconds() |
static java.lang.String |
getBatchTerminatorClass() |
static java.lang.String |
getBatchTerminatorMethod() |
static int |
getBulkOpMapSize() |
static java.util.Map<UseCase3Prms.CacheOp,java.lang.Double> |
getCacheOpSpec() |
static UseCase3Prms.ClientName |
getClientNameToBounce() |
static int |
getInterestBatchSize() |
static int |
getInterestTotalKeys() |
static int |
getKeyAllocation() |
static int |
getKeyAllocationChunkSize() |
static java.lang.String |
getKeyType() |
static java.lang.String |
getObjectType() |
static java.util.List |
getRegionConfigs() |
static UseCase3Prms.RegionName |
getRegionName() |
static java.util.Map<UseCase3Prms.RegionName,java.lang.Integer> |
getRegionSpec() |
static int |
getRestartWaitSec() |
static int |
getSleepAfterOpMs() |
static int |
getStopWaitSec() |
static java.lang.String |
getTaskTerminatorClass() |
static java.lang.String |
getTaskTerminatorMethod() |
static void |
main(java.lang.String[] args) |
static boolean |
useMeanKill() |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static java.lang.Long keyType
String.
Not for use with ONEOF or RANGE or as a task parameter.ObjectHelperpublic static java.lang.Long keyAllocation
DEFAULT_KEY_ALLOCATION.public static final int SAME_KEY
public static final int SAME_KEYS
public static final int SAME_KEYS_WRAP
public static final int SAME_KEYS_RANDOM_WRAP
public static final int OWN_KEY
public static final int OWN_KEYS
public static final int OWN_KEYS_WRAP
public static final int OWN_KEYS_RANDOM_WRAP
public static final int OWN_KEYS_CHUNKED
public static java.lang.Long keyAllocationChunkSize
keyAllocation.
Defaults to 1. Not for use with oneof or range.public static java.lang.Long objectType
ObjectHelper. Defaults to
SizedString with the default size.ObjectHelperpublic static java.lang.Long allowNulls
public static java.lang.Long batchSeconds
public static java.lang.Long batchTerminatorClass
DEFAULT_CLASS.
See also batchTerminatorMethod.public static java.lang.Long batchTerminatorMethod
batchTerminatorClass.public static java.lang.Long taskTerminatorClass
DEFAULT_CLASS.
See also taskTerminatorMethod.public static java.lang.Long taskTerminatorMethod
taskTerminatorClass.public static java.lang.Long clientNameToBounce
UseCase3Client.bounceTask().public static java.lang.Long useMeanKill
UseCase3Client.bounceTask().
Defaults to false.public static java.lang.Long stopWaitSec
UseCase3Client.bounceTask(). Defaults to 0.public static java.lang.Long restartWaitSec
UseCase3Client.bounceTask(). Defaults to 0.public static java.lang.Long sleepAfterOpMs
public static java.lang.Long interestTotalKeys
public static java.lang.Long interestBatchSize
The size should be sufficient to justify registering with a list.
public static java.lang.Long regionConfigs
public static java.lang.Long regionSpec
public static java.lang.Long regionName
regionSpec.public static java.lang.Long cacheOpSpec
public static java.lang.Long bulkOpMapSize
public static java.lang.String getKeyType()
public static int getKeyAllocation()
public static int getKeyAllocationChunkSize()
public static java.lang.String getObjectType()
public static boolean allowNulls()
public static int getBatchSeconds()
public static java.lang.String getBatchTerminatorClass()
public static java.lang.String getBatchTerminatorMethod()
public static java.lang.String getTaskTerminatorClass()
public static java.lang.String getTaskTerminatorMethod()
public static UseCase3Prms.ClientName getClientNameToBounce()
public static boolean useMeanKill()
public static int getStopWaitSec()
public static int getRestartWaitSec()
public static int getSleepAfterOpMs()
public static int getInterestTotalKeys()
public static int getInterestBatchSize()
public static java.util.List getRegionConfigs()
public static java.util.Map<UseCase3Prms.RegionName,java.lang.Integer> getRegionSpec()
public static UseCase3Prms.RegionName getRegionName()
public static java.util.Map<UseCase3Prms.CacheOp,java.lang.Double> getCacheOpSpec()
public static int getBulkOpMapSize()
public static void main(java.lang.String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.