public class ProxySerialEntryEventTest extends ProxyEventTest
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)ADD_OPERATION, CLEAR_OPERATION, clientName, createCallbackPrefix, DESTROY_OPERATION, destroyCallbackPrefix, distLockService, eventTest, INVALIDATE_OPERATION, invalidateCallbackPrefix, isCarefulValidation, isMirrored, isSerialExecution, isSerialRR, LOCAL_DESTROY_OPERATION, LOCAL_INVALIDATE_OPERATION, LOCK_NAME, LOCK_SERVICE_NAME, maxObjects, maxRegions, memberIdString, MILLIS_TO_WAIT, minTaskGranularityMS, minTaskGranularitySec, NO_OPERATION, numVMs, randomValues, READ_OPERATION, REGION_CLOSE_OPERATION, regionDestroyCallbackPrefix, regionInvalidateCallbackPrefix, regionName, shadow, shadowRegionName, UPDATE_OPERATION, updateCallbackPrefix, useEvictionController, useTransactions| Constructor and Description |
|---|
ProxySerialEntryEventTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObject(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean) |
protected void |
checkEventCounters()
Check all counters from EventCountersBB.
|
protected void |
checkEventCounters(boolean numCloseIsExact)
Check event counters.
|
protected void |
destroyObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalDestroy) |
protected int |
getNumVMsWithListeners() |
static void |
HydraTask_closeTask() |
static void |
HydraTask_initialize() |
protected void |
invalidateObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalInvalidate) |
protected void |
updateObject(com.gemstone.gemfire.cache.Region aRegion)
Updates the "first" entry in a given region
|
addRegion, addRegion, addToRegion, clearRegion, clearRegion, closeRegion, closeRegion, createRootRegions, destroyRegion, destroyRegion, doEntryOperations, doRegionOperations, executeRegionOp, faultInNewRegions, faultInRegion, getNumNonRootRegions, getObjectToAdd, getOperation, getRandomRegion, getUpdateObject, handleRegionDestroyedException, HydraTask_addToRegion, HydraTask_doEntryOperations, HydraTask_doRegionOperations, HydraTask_endTask, HydraTask_executeRegionOp, HydraTask_iterate, HydraTask_printBB, initialize, invalidateRegion, invalidateRegion, iterateRegion, logExecutionNumber, readObject, updateObject, verifyObjectDestroyed, verifyObjectInvalidated, writeMyRegionNames, writeMyRegionNamespublic static void HydraTask_initialize()
public static void HydraTask_closeTask()
protected int getNumVMsWithListeners()
getNumVMsWithListeners in class ProxyEventTestprotected void addObject(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean)
addObject in class ProxyEventTestprotected void invalidateObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalInvalidate)
invalidateObject in class ProxyEventTestprotected void destroyObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalDestroy)
destroyObject in class ProxyEventTestprotected void updateObject(com.gemstone.gemfire.cache.Region aRegion)
ProxyEventTestupdateObject in class ProxyEventTestprotected void checkEventCounters()
checkEventCounters in class ProxyEventTestprotected void checkEventCounters(boolean numCloseIsExact)
numCloseIsExact - True if the numClose event counters must exactly
match the expected numClose value, false if the numClose event
counters must be no less than the expected numClose counter.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.