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