public class MapRegionTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.RegionAttributes |
attr |
protected static com.gemstone.gemfire.cache.Cache |
cache |
protected static int |
CLEAR |
protected static int |
CM_REMOVE |
protected static int |
CONTAINSVALUE |
protected static int |
DESTROY |
protected static int |
DISK_FOR_OVRFLW |
protected static int |
DISK_FOR_OVRFLW_PERSIST |
protected static int |
DISK_FOR_PERSIST |
protected int |
evictionLimit |
protected static int |
FORCE_ROLLING |
protected static int |
INVALIDATE |
protected static boolean |
isCarefulValidation |
protected static int |
ISEMPTY |
protected static int |
LOCAL_CLEAR |
protected static int |
LOCAL_DESTROY |
protected static int |
LOCAL_INVALIDATE |
protected static int |
LOCAL_REGION_DESTROY |
protected static int |
LOCAL_REGION_INVALIDATE |
protected int |
lowerThreshold |
protected static MapRegionTest |
mapRegionTest |
protected long |
minTaskGranularityMS |
protected long |
minTaskGranularitySec |
protected static int |
MIRROR_TYPE_AND_OPERATION_MISMATCH |
protected static int |
NO_DISK
Perform force rolling of oplogs if the region is disk region.
|
protected boolean |
persistentReplicate |
protected static int |
PUT |
protected static int |
PUT_IF_ABSENT |
protected static int |
PUT_PREVIOUS |
protected static int |
PUTALL |
protected static com.gemstone.gemfire.cache.Region |
region |
protected static int |
REGION_DESTROY |
protected static int |
REGION_INVALIDATE |
protected int |
regionType |
protected static int |
REMOVE |
protected static int |
REPLACE |
protected static int |
SIZE |
protected static int |
TRANSACTIONS |
protected int |
upperThreshold |
protected static int |
WRITE_TO_DISK |
| Constructor and Description |
|---|
MapRegionTest()
Creates a new instance of MapRegionTest
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearRegion() |
void |
closeCache() |
protected void |
closeTask() |
protected void |
concurrentMapRemove() |
protected void |
containsValueMethod() |
void |
createRegion() |
protected void |
destroyLocalObject() |
protected void |
destroyLocalRegion() |
protected void |
destroyObject() |
protected void |
destroyRegion() |
protected void |
forceRollOplogs() |
protected int |
getEntryOperation(Long whichPrm,
boolean disallowLocalEntryOps) |
protected Set |
getEntrySet()
Method returns the entrySet of a region
|
protected Object |
getExistingKey(com.gemstone.gemfire.cache.Region aRegion)
Return a random key currently in the given region.
|
protected int |
getRegionOperation(Long whichPrm,
boolean disallowLocalRegionOps) |
protected int |
getSize()
Method returns the size of a region
|
static void |
HydraTask_closetask() |
static void |
HydraTask_endtask() |
static void |
HydraTask_initialize() |
static void |
HydraTask_performEntryOperations()
Entry operations.
|
static void |
HydraTask_performRegionOperations() |
protected void |
initialize() |
protected void |
invalidateLocalObject() |
protected void |
invalidateLocalRegion() |
protected void |
invalidateObject() |
protected void |
invalidateRegion() |
protected void |
isEmptyMethod() |
protected void |
localClearRegion() |
protected void |
logMirrorTypeAndOperationMismatch() |
protected void |
performEntryOperations() |
protected void |
performRegionOperations() |
protected void |
putAllObjects() |
protected void |
putGetPutAllDestroyTxn() |
protected void |
putIfAbsent()
ConcurrentMap methods
|
protected void |
putObject()
putKeyInt is the number of keys on which puts have done
so far in a vm on a region.
|
protected void |
putPrevious()
Put a key that was previously used in this test
|
protected void |
putRemoveClearTxn() |
protected void |
recoverRegion() |
protected void |
removeObject() |
protected void |
replace()
ConcurrentMap testing: region.replace()
|
protected void |
sizeOfRegion() |
protected void |
useTransactions() |
protected void |
validate(int index,
Object obj)
Validates that an indexed object has the right content.
|
protected void |
writeToDisk()
Perform write to disk if region is configured to write to disk
|
protected static final int PUT
protected static final int PUTALL
protected static final int CLEAR
protected static final int REMOVE
protected static final int INVALIDATE
protected static final int DESTROY
protected static final int REGION_INVALIDATE
protected static final int REGION_DESTROY
protected static final int LOCAL_INVALIDATE
protected static final int LOCAL_DESTROY
protected static final int LOCAL_REGION_INVALIDATE
protected static final int LOCAL_REGION_DESTROY
protected static final int SIZE
protected static final int ISEMPTY
protected static final int CONTAINSVALUE
protected static final int TRANSACTIONS
protected static final int LOCAL_CLEAR
protected static final int PUT_PREVIOUS
protected static final int FORCE_ROLLING
protected static final int WRITE_TO_DISK
protected static final int PUT_IF_ABSENT
protected static final int CM_REMOVE
protected static final int REPLACE
protected static final int MIRROR_TYPE_AND_OPERATION_MISMATCH
protected long minTaskGranularitySec
protected long minTaskGranularityMS
protected static MapRegionTest mapRegionTest
protected static boolean isCarefulValidation
protected static com.gemstone.gemfire.cache.Cache cache
protected static volatile com.gemstone.gemfire.cache.Region region
protected static com.gemstone.gemfire.cache.RegionAttributes attr
protected int lowerThreshold
protected int upperThreshold
protected static final int NO_DISK
protected static final int DISK_FOR_OVRFLW
protected static final int DISK_FOR_PERSIST
protected static final int DISK_FOR_OVRFLW_PERSIST
protected boolean persistentReplicate
protected int evictionLimit
protected int regionType
public static void HydraTask_initialize()
protected void initialize()
public void createRegion()
public static void HydraTask_closetask()
protected void closeTask()
public void closeCache()
public static void HydraTask_endtask()
public static void HydraTask_performEntryOperations()
protected void performEntryOperations()
public static void HydraTask_performRegionOperations()
protected void performRegionOperations()
protected void recoverRegion()
protected int getEntryOperation(Long whichPrm, boolean disallowLocalEntryOps)
protected int getRegionOperation(Long whichPrm, boolean disallowLocalRegionOps)
protected void putObject()
protected void putPrevious()
protected void putAllObjects()
protected void removeObject()
protected void invalidateObject()
protected void destroyObject()
protected void putIfAbsent()
protected void concurrentMapRemove()
protected void replace()
protected Object getExistingKey(com.gemstone.gemfire.cache.Region aRegion)
aRegion - The region to use for getting an existing keyprotected void clearRegion()
protected void localClearRegion()
protected void invalidateRegion()
protected void destroyRegion()
protected void sizeOfRegion()
protected void containsValueMethod()
protected void isEmptyMethod()
protected void invalidateLocalObject()
protected void destroyLocalObject()
protected void destroyLocalRegion()
protected void invalidateLocalRegion()
protected void useTransactions()
protected void putGetPutAllDestroyTxn()
protected void putRemoveClearTxn()
protected void validate(int index,
Object obj)
protected int getSize()
protected Set getEntrySet()
protected void logMirrorTypeAndOperationMismatch()
protected void forceRollOplogs()
protected void writeToDisk()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.