public class SerialWBCLEventTest extends WBCLEventTest
EventTask that performs operations
serially. It also validates the state of the cache after each
operation. Note that this test must be configured to use regions
whose scope is DISTRIBUTED_ACK or GLOBAL.#checkEventCounters(boolean)rootRegionADD_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 |
|---|
SerialWBCLEventTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObject(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean) |
protected void |
checkEventCounters()
Check all counters from WBCLEventBB.
|
protected void |
destroyObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalDestroy) |
static void |
HydraTask_endTask() |
static void |
HydraTask_initialize() |
protected void |
invalidateObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalInvalidate) |
protected void |
putIfAbsent(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean)
ConcurrentMap API testing
First round ...
|
protected void |
remove(com.gemstone.gemfire.cache.Region aRegion)
ConcurrentMap API testing
|
protected void |
replace(com.gemstone.gemfire.cache.Region aRegion)
Updates the "first" entry in a given region
|
protected void |
updateObject(com.gemstone.gemfire.cache.Region aRegion)
Updates the "first" entry in a given region
|
createGatewayHub, doEntryOperations, getUpdateObject, HydraTask_checkForEventErrors, HydraTask_doEntryOperations, initialize, startGatewayHub, startGatewayHubTaskaddRegion, addRegion, addToRegion, clearRegion, clearRegion, closeRegion, closeRegion, createRootRegions, destroyRegion, destroyRegion, doEntryOperations, doRegionOperations, faultInNewRegions, faultInRegion, getCacheListener, getNumNames, getNumNonRootRegions, getNumVMsWithListeners, getObjectToAdd, getOperation, getPartitionAttributes, getRandomRegion, handleRegionDestroyedException, HydraTask_addToRegion, HydraTask_doRegionOperations, HydraTask_iterate, HydraTask_printBB, HydraTask_stopStartVMs, invalidateRegion, invalidateRegion, iterateRegion, logExecutionNumber, readObject, replace, updateAllObjects, updateObject, updateObjects, updateObjects, verifyObjectDestroyed, verifyObjectInvalidated, writeMyRegionNames, writeMyRegionNamespublic static void HydraTask_initialize()
public static void HydraTask_endTask()
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 putIfAbsent(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean)
EventTestputIfAbsent in class EventTestprotected void replace(com.gemstone.gemfire.cache.Region aRegion)
EventTestprotected void remove(com.gemstone.gemfire.cache.Region aRegion)
EventTestprotected void checkEventCounters()
checkEventCounters in class EventTestCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.