public class SerialMixedBridgeNotify extends BridgeNotify
BridgeNotify that performs operations
serially. It also validates the state of the cache after each
operation. Note that this test must be configured to use servers
whose scope is DISTRIBUTED_ACK or GLOBAL.checkEventCounters(boolean)ADD_OPERATION, bridgeClient, CACHE_CLOSE_OPERATION, CLEAR_OPERATION, createCallbackPrefix, DESTROY_CREATE_OPERATION, DESTROY_OPERATION, destroyCallbackPrefix, INVALIDATE_OPERATION, invalidateCallbackPrefix, isCarefulValidation, isSerialExecution, isVMotionEnabled, KILL_VM_OPERATION, LOCAL_DESTROY_OPERATION, LOCAL_INVALIDATE_OPERATION, minTaskGranularityMS, minTaskGranularitySec, numKeysInTest, originalKeyList, PUT_IF_ABSENT_OPERATION, PUTALL_ADD_OPERATION, PUTALL_UPDATE_OPERATION, randomValues, READ_OPERATION, REGION_CLOSE_OPERATION, REGION_NAME, REMOVE_OPERATION, REPLACE_OPERATION, UPDATE_OPERATION, updateCallbackPrefix, useTransactions| Constructor and Description |
|---|
SerialMixedBridgeNotify() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObject(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean) |
protected void |
addObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean) |
protected void |
checkEventCounters()
Check all counters from EventCountersBB.
|
protected void |
checkEventCounters(boolean eventCountExact)
Check event counters.
|
protected void |
destroyAndCreateObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalDestroy) |
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
|
protected void |
remove(com.gemstone.gemfire.cache.Region aRegion)
ConcurrentMap API testing
|
protected void |
replace(com.gemstone.gemfire.cache.Region aRegion)
Replaces the "first" entry in a given region
|
protected void |
updateObject(com.gemstone.gemfire.cache.Region aRegion)
Updates the "first" entry w/a value in a given region
|
protected void |
updateObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion) |
addObject, addObjectViaPutAll, clearEventCounters, closeCache, closeRegion, createAllKeys, createAllKeysViaPutAll, createObject, destroyAllKeys, doEntryOperations, getEntriesFromServer, getNumVMsWithListeners, getObjectToAdd, getOperation, getUpdateObject, HydraTask_createAllKeys, HydraTask_createAllKeysViaPutAll, HydraTask_destroyAllKeys, HydraTask_doEntryOperations, HydraTask_getEntriesFromServer, HydraTask_populateRegion, HydraTask_printBB, HydraTask_recycleServer, HydraTask_updateAllKeys, HydraTask_updateAllKeysViaPutAll, HydraTask_validateEventsReceived, initBridgeServer, initBridgeServerWithXml, initialize, initRegion, killVM, logExecutionNumber, populateRegion, query, query, readObject, registerInterest, releaseThreadLocal, replace, stopBridgeServer, updateAllKeys, updateAllKeysViaPutAll, updateObject, updateObjectViaPutAll, validateEventsReceived, verifyObjectDestroyed, verifyObjectInvalidatedpublic static void HydraTask_initialize()
public static void HydraTask_endTask()
protected void addObject(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean)
addObject in class BridgeNotifyprotected void addObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean)
addObjectViaPutAll in class BridgeNotifyprotected void invalidateObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalInvalidate)
invalidateObject in class BridgeNotifyprotected void destroyObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalDestroy)
destroyObject in class BridgeNotifyprotected void destroyAndCreateObject(com.gemstone.gemfire.cache.Region aRegion,
boolean isLocalDestroy)
destroyAndCreateObject in class BridgeNotifyprotected void updateObject(com.gemstone.gemfire.cache.Region aRegion)
BridgeNotifyupdateObject in class BridgeNotifyprotected void updateObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion)
updateObjectViaPutAll in class BridgeNotifyprotected void putIfAbsent(com.gemstone.gemfire.cache.Region aRegion,
boolean aBoolean)
BridgeNotifyputIfAbsent in class BridgeNotifyprotected void remove(com.gemstone.gemfire.cache.Region aRegion)
BridgeNotifyremove in class BridgeNotifyprotected void replace(com.gemstone.gemfire.cache.Region aRegion)
BridgeNotifyreplace in class BridgeNotifyprotected void checkEventCounters()
checkEventCounters in class BridgeNotifycom.gemstone.gemfire.cache.InterestPolicy.ALLprotected void checkEventCounters(boolean eventCountExact)
eventCountExact - - 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.