public class SerialParRegEntryEventTest extends SerialEntryEventTest
EventTask that performs operations serially
on a partitionedRegion. 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, 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 |
|---|
SerialParRegEntryEventTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkEventCounters()
Check all counters from EventCountersBB.
|
protected void |
checkEventCounters(boolean eventCountExact)
Check event counters.
|
static void |
HydraTask_endTask() |
static void |
HydraTask_initialize() |
addObject, createLocatorTask, destroyObject, getNumVMsWithListeners, invalidateObject, putIfAbsent, remove, replace, startLocatorAndAdminDSTask, updateObjectaddRegion, addRegion, addToRegion, clearRegion, clearRegion, closeRegion, closeRegion, createRootRegions, destroyRegion, destroyRegion, doEntryOperations, doRegionOperations, faultInNewRegions, faultInRegion, getCacheListener, getNumNames, getNumNonRootRegions, getObjectToAdd, getOperation, getPartitionAttributes, getRandomRegion, getUpdateObject, handleRegionDestroyedException, HydraTask_addToRegion, HydraTask_doEntryOperations, HydraTask_doRegionOperations, HydraTask_iterate, HydraTask_printBB, HydraTask_stopStartVMs, initialize, 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 checkEventCounters()
checkEventCounters in class SerialEntryEventTestcom.gemstone.gemfire.cache.InterestPolicy.ALLprotected void checkEventCounters(boolean eventCountExact)
checkEventCounters in class SerialEntryEventTesteventCountExact - - True if the event counters must exactly
match the expected value, false if the event
counters must be no less than the expected counter.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.