public class CollectionsTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static CollectionsTest |
collectionsTest |
| Constructor and Description |
|---|
CollectionsTest() |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
createRegionWithPath(String regionName)
Given a region name, return the region instance for it.
|
Operation |
executeCreateEntry(Operation op)
Creates a new key/value in the given region by creating a new
(never-used-before) key and a random value.
|
Operation |
executeCreateRegion(Operation op)
Creates a region that was previously destroyed.
|
Operation |
executeDestroyEntry(Operation op)
Destroys an entry in aRegion.
|
Operation |
executeDestroyRegion(Operation op)
Destroys the given region.
|
Operation |
executeGetEntryWithExistingKey(Operation op)
Gets a value in aRegion with a key existing in aRegion.
|
Operation |
executeGetEntryWithNewKey(Operation op)
Gets a value in aRegion with a the next new (never-before_used) key.
|
Operation |
executeGetEntryWithPreviousKey(Operation op)
Gets a value in aRegion with a random key that was previously used in the test.
|
Operation |
executeInvalEntry(Operation op)
Invalidates an entry in aRegion.
|
Operation |
executeInvalRegion(Operation op)
Invalidates the given region.
|
Operation |
executeOperation(Operation operation) |
Operation |
executeUpdateEntry(Operation op)
Updates an existing entry in aRegion.
|
Operation |
getCreateEntryOp(com.gemstone.gemfire.cache.Region aRegion)
getCreateEntryOp()
|
Operation |
getCreateRegionOp()
getCreateRegionOp()
|
Operation |
getDestroyEntryOp(boolean isLocalDestroy,
com.gemstone.gemfire.cache.Region aRegion,
Object key)
getDestroyEntryOp()
|
Operation |
getDestroyRegionOp(boolean isLocalDestroy,
com.gemstone.gemfire.cache.Region aRegion)
getDestroyRegionOp()
|
Operation |
getGetEntryWithExistingKeyOp(com.gemstone.gemfire.cache.Region aRegion)
getGetEntryWithExistingKeyOp()
|
Operation |
getGetEntryWithNewKeyOp(com.gemstone.gemfire.cache.Region aRegion)
getGetEntryWithNewKey()
|
Operation |
getGetEntryWithPreviousKeyOp(com.gemstone.gemfire.cache.Region aRegion)
getGetEntryWithPreviousKey()
|
Operation |
getInvalEntryOp(boolean isLocalInval,
com.gemstone.gemfire.cache.Region aRegion,
Object key)
getInvalEntryOp()
|
Operation |
getInvalRegionOp(boolean isLocalInval,
com.gemstone.gemfire.cache.Region aRegion)
getInvalRegionOp()
|
Operation |
getUpdateEntryOp(com.gemstone.gemfire.cache.Region aRegion,
Object key)
getUpdateEntryOp()
|
Object |
getValueInVM(com.gemstone.gemfire.cache.Region aRegion,
Object key)
Call getValueInVM on the given region and key.
|
static void |
HydraTask_doTransactions() |
static void |
HydraTask_initialize() |
void |
initialize() |
protected static CollectionsTest collectionsTest
public static void HydraTask_initialize()
public void initialize()
public static void HydraTask_doTransactions()
public Operation getCreateEntryOp(com.gemstone.gemfire.cache.Region aRegion)
aRegion - - entry op describes a create-entry op in the given regionpublic Operation getUpdateEntryOp(com.gemstone.gemfire.cache.Region aRegion, Object key)
aRegion - The region to modify a key in.key - The key to modify.public Operation getDestroyEntryOp(boolean isLocalDestroy, com.gemstone.gemfire.cache.Region aRegion, Object key)
isLocalDestroy - True if the opertion is a local destroy, false otherwise.aRegion - The region to destroy the entry in.key - The key to destroy.public Operation getInvalEntryOp(boolean isLocalInval, com.gemstone.gemfire.cache.Region aRegion, Object key)
isLocalInval - True if the opertion is a local invalidate, false otherwise.aRegion - The region to invalidate the entry in.key - The key to invalidate.public Operation getGetEntryWithExistingKeyOp(com.gemstone.gemfire.cache.Region aRegion)
aRegion - The region to get from.public Operation getGetEntryWithPreviousKeyOp(com.gemstone.gemfire.cache.Region aRegion)
aRegion - The region to get from.public Operation getGetEntryWithNewKeyOp(com.gemstone.gemfire.cache.Region aRegion)
aRegion - The region to get from.public Operation getInvalRegionOp(boolean isLocalInval, com.gemstone.gemfire.cache.Region aRegion)
isLocalInval - True if the opertion is a local invalidate, false otherwise.aRegion - The region to invalidate.public Operation getDestroyRegionOp(boolean isLocalDestroy, com.gemstone.gemfire.cache.Region aRegion)
isLocalDestroy - True if the opertion is a local destroy, false otherwise.aRegion - The region to destroy.public Operation getCreateRegionOp()
public Operation executeCreateEntry(Operation op)
Operation - op - describes operation to be performedpublic Operation executeUpdateEntry(Operation op)
Operation - op - describes operation to be performedpublic Operation executeDestroyEntry(Operation op)
Operation - op - describes operation to be performedpublic Operation executeInvalEntry(Operation op)
Operation - op - describes operation to be performedpublic Operation executeGetEntryWithExistingKey(Operation op)
Operation - op - describes operation to be performedpublic Operation executeGetEntryWithPreviousKey(Operation op)
Operation - op - describes operation to be performedpublic Operation executeGetEntryWithNewKey(Operation op)
Operation - op - describes operation to be performedpublic Operation executeInvalRegion(Operation op)
Operation - op - describes operation to be performedpublic Operation executeDestroyRegion(Operation op)
Operation - op - describes operation to be performedpublic Operation executeCreateRegion(Operation op)
public Object[] createRegionWithPath(String regionName)
regionName - - The full path name of a region.public Object getValueInVM(com.gemstone.gemfire.cache.Region aRegion, Object key)
aRegion - - The region to use for the call.key - - The key to use for the call.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.