public class ReliabilityEventTest extends EventTest
event.EventTest that performs operations
and handles the RegionRoleExceptions thrown when reliability is lost.RegionRoleException,
RegionDistributionException,
RegionAccessExceptionADD_OPERATION, CLEAR_OPERATION, createCallbackPrefix, DESTROY_OPERATION, destroyCallbackPrefix, distLockService, eventTest, INVALIDATE_OPERATION, invalidateCallbackPrefix, isCarefulValidation, isListenerTest, isMirrored, isSerialExecution, listenerInstalled, LOCAL_DESTROY_OPERATION, LOCAL_INVALIDATE_OPERATION, LOCK_NAME, LOCK_SERVICE_NAME, lowerThreshold, maxObjects, maxRegions, memberIdString, MILLIS_TO_WAIT, minTaskGranularityMS, minTaskGranularitySec, numVMs, PR_NAME_PREFIX, PUT_IF_ABSENT_OPERATION, PUTALL_OPERATION, rand, randomValues, READ_OPERATION, REGION_CLOSE_OPERATION, regionDestroyCallbackPrefix, regionInvalidateCallbackPrefix, regionName, REMOVE_OPERATION, REPLACE_OPERATION, UPDATE_OPERATION, updateCallbackPrefix, upperThreshold, useCounters, useEvictionController, useTransactions, VmIDStr| Constructor and Description |
|---|
ReliabilityEventTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObject(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean) |
protected void |
destroyObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalDestroy) |
protected void |
handleRegionRoleException(com.gemstone.gemfire.cache.RegionRoleException e) |
static void |
HydraTask_doEntryOperations() |
static void |
HydraTask_initialize() |
protected void |
invalidateObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalInvalidate) |
protected void |
readObject(com.gemstone.gemfire.cache.Region aRegion)
Fetches (reads) the value of a randomly selected entry in the
given region.
|
protected void |
updateObject(com.gemstone.gemfire.cache.Region aRegion)
Updates the "first" entry in a given region
|
addRegion, addRegion, addToRegion, checkEventCounters, clearRegion, clearRegion, closeRegion, closeRegion, createRootRegions, destroyRegion, destroyRegion, doEntryOperations, doRegionOperations, faultInNewRegions, faultInRegion, getCacheListener, getNumNames, getNumNonRootRegions, getNumVMsWithListeners, getObjectToAdd, getOperation, getPartitionAttributes, getRandomRegion, getUpdateObject, handleRegionDestroyedException, HydraTask_addToRegion, HydraTask_doRegionOperations, HydraTask_endTask, HydraTask_iterate, HydraTask_printBB, HydraTask_stopStartVMs, initialize, invalidateRegion, invalidateRegion, iterateRegion, logExecutionNumber, putIfAbsent, remove, replace, replace, updateAllObjects, updateObject, updateObjects, updateObjects, verifyObjectDestroyed, verifyObjectInvalidated, writeMyRegionNames, writeMyRegionNamespublic static void HydraTask_initialize()
public static void HydraTask_doEntryOperations()
protected void addObject(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean)
protected void invalidateObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalInvalidate)
invalidateObject in class EventTestprotected void destroyObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalDestroy)
destroyObject in class EventTestprotected void updateObject(com.gemstone.gemfire.cache.Region aRegion)
EventTestupdateObject in class EventTestprotected void readObject(com.gemstone.gemfire.cache.Region aRegion)
EventTestreadObject in class EventTestprotected void handleRegionRoleException(com.gemstone.gemfire.cache.RegionRoleException e)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.