public class PutAllBridgeNotify extends BridgeNotify
| Modifier and Type | Field and Description |
|---|---|
protected static long |
maxNames |
protected static PutAllBridgeNotify |
putAllBridgeNotify |
protected static Random |
rnd |
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 |
|---|
PutAllBridgeNotify() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObject(com.gemstone.gemfire.cache.Region aRegion,
String name,
boolean logAddition)
update BB for listener invocations
|
protected void |
addObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion,
boolean logAddition)
add object via putAll with randomly chosen size.
|
protected void |
addObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion,
int sizeForPutAll,
boolean logAddition) |
protected void |
checkEventCounters()
Must overridden in a subclass
|
protected void |
checkEventCounters(boolean eventCountExact) |
protected void |
checkPutAllCounters(boolean eventCountExact) |
protected Object |
getObjectToAdd(String name)
Creates a new object with the given
name to add to a
region. |
protected int |
getSizeForPutAll() |
protected Object |
getUpdateObject(String name)
Returns the "updated" value of the object with the given
name. |
static void |
HydraTask_doEntryOperations() |
static void |
HydraTask_initialize() |
static void |
HydraTask_recycleServer()
A Hydra TASK that will kill and restart random bridgeServers.
|
static void |
HydraTask_verifyPutAllCounters() |
void |
initialize() |
protected void |
putIfAbsent(com.gemstone.gemfire.cache.Region aRegion,
boolean logAddition)
ConcurrentMap putIfAbsent API
|
protected void |
registerInterest(com.gemstone.gemfire.cache.Region aRegion,
com.gemstone.gemfire.cache.CacheListener myListener,
ArrayList oddKeys,
ArrayList evenKeys) |
protected void |
replace(com.gemstone.gemfire.cache.Region aRegion,
Object name)
Replaces the entry with the given key (
name) in the
given region. |
protected void |
updateObject(com.gemstone.gemfire.cache.Region aRegion,
Object name)
Updates the entry with the given key (
name) in the
given region. |
protected void |
updateObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion) |
addObject, addObjectViaPutAll, clearEventCounters, closeCache, closeRegion, createAllKeys, createAllKeysViaPutAll, createObject, destroyAllKeys, destroyAndCreateObject, destroyObject, doEntryOperations, getEntriesFromServer, getNumVMsWithListeners, getOperation, HydraTask_createAllKeys, HydraTask_createAllKeysViaPutAll, HydraTask_destroyAllKeys, HydraTask_endTask, HydraTask_getEntriesFromServer, HydraTask_populateRegion, HydraTask_printBB, HydraTask_updateAllKeys, HydraTask_updateAllKeysViaPutAll, HydraTask_validateEventsReceived, initBridgeServer, initBridgeServerWithXml, initRegion, invalidateObject, killVM, logExecutionNumber, populateRegion, query, query, readObject, releaseThreadLocal, remove, replace, stopBridgeServer, updateAllKeys, updateAllKeysViaPutAll, updateObject, updateObjectViaPutAll, validateEventsReceived, verifyObjectDestroyed, verifyObjectInvalidatedprotected static PutAllBridgeNotify putAllBridgeNotify
protected static Random rnd
protected static long maxNames
public static void HydraTask_initialize()
public void initialize()
initialize in class BridgeNotifyHydraTask_initializepublic static void HydraTask_verifyPutAllCounters()
protected int getSizeForPutAll()
public static void HydraTask_doEntryOperations()
protected Object getUpdateObject(String name)
BridgeNotifyname.getUpdateObject in class BridgeNotifyBaseValueHolder.getAlternateValueHolder(util.RandomValues)protected Object getObjectToAdd(String name)
BridgeNotifyname to add to a
region.getObjectToAdd in class BridgeNotifyBaseValueHolder,
RandomValuesprotected void addObject(com.gemstone.gemfire.cache.Region aRegion,
String name,
boolean logAddition)
addObject in class BridgeNotifyprotected void putIfAbsent(com.gemstone.gemfire.cache.Region aRegion,
boolean logAddition)
putIfAbsent in class BridgeNotifyprotected void addObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion,
boolean logAddition)
addObjectViaPutAll in class BridgeNotifyprotected void addObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion,
int sizeForPutAll,
boolean logAddition)
protected void updateObject(com.gemstone.gemfire.cache.Region aRegion,
Object name)
BridgeNotifyname) in the
given region.updateObject in class BridgeNotifyprotected void replace(com.gemstone.gemfire.cache.Region aRegion,
Object name)
BridgeNotifyname) in the
given region.replace in class BridgeNotifyprotected void updateObjectViaPutAll(com.gemstone.gemfire.cache.Region aRegion)
updateObjectViaPutAll in class BridgeNotifyprotected void checkEventCounters()
BridgeNotifycheckEventCounters in class BridgeNotifyprotected void checkEventCounters(boolean eventCountExact)
protected void checkPutAllCounters(boolean eventCountExact)
protected void registerInterest(com.gemstone.gemfire.cache.Region aRegion,
com.gemstone.gemfire.cache.CacheListener myListener,
ArrayList oddKeys,
ArrayList evenKeys)
registerInterest in class BridgeNotifypublic static void HydraTask_recycleServer()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.