public class ExecuteTx extends OperationsClient implements com.gemstone.gemfire.cache.execute.Function, com.gemstone.gemfire.cache.Declarable
createCallbackPrefix, destroyCallbackPrefix, distLockService, ENTRY_ADD_OPERATION, ENTRY_DESTROY_OPERATION, ENTRY_GET_NEW_OPERATION, ENTRY_GET_OPERATION, ENTRY_INVALIDATE_OPERATION, ENTRY_LOCAL_DESTROY_OPERATION, ENTRY_LOCAL_INVALIDATE_OPERATION, ENTRY_PUTALL_OPERATION, ENTRY_UPDATE_OPERATION, getCallbackPrefix, invalidateCallbackPrefix, LOCK_NAME, LOCK_SERVICE_NAME, lockOperations, lowerThreshold, minTaskGranularityMS, minTaskGranularitySec, numOpsPerTask, PUT_IF_ABSENT_OPERATION, randomValues, regionDestroyCallbackPrefix, regionInvalidateCallbackPrefix, REMOVE_OPERATION, REPLACE_OPERATION, updateCallbackPrefix, upperThreshold, useTransactions, VmIDStr| Constructor and Description |
|---|
ExecuteTx() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(com.gemstone.gemfire.cache.execute.FunctionContext context) |
protected Object |
getExistingKey(com.gemstone.gemfire.cache.Region aRegion)
Return a random key currently in the given region.
|
String |
getId() |
protected Object |
getNewKey()
Return a new key, never before used in the test.
|
boolean |
hasResult() |
void |
init(Properties props) |
boolean |
isHA() |
boolean |
optimizeForWrite() |
addEntry, createLocatorTask, destroyEntry, doEntryOperations, getExistingKeys, getKey, getNewKey, getOperation, getRecentKey, getUpdateObject, getValueForKey, initializeOperationsClient, invalidateEntry, putAll, putIfAbsent, remove, remove, replace, replace, startAndConnectLocatorTask, stopLocatorTask, updateEntrypublic void execute(com.gemstone.gemfire.cache.execute.FunctionContext context)
execute in interface com.gemstone.gemfire.cache.execute.Functionpublic String getId()
getId in interface com.gemstone.gemfire.cache.execute.FunctiongetId in interface com.gemstone.gemfire.lang.Identifiablepublic boolean hasResult()
hasResult in interface com.gemstone.gemfire.cache.execute.Functionpublic boolean optimizeForWrite()
optimizeForWrite in interface com.gemstone.gemfire.cache.execute.Functionpublic void init(Properties props)
init in interface com.gemstone.gemfire.cache.Declarableprotected Object getExistingKey(com.gemstone.gemfire.cache.Region aRegion)
getExistingKey in class OperationsClientaRegion - The region to use for getting an existing keyprotected Object getNewKey()
getNewKey in class OperationsClientpublic boolean isHA()
isHA in interface com.gemstone.gemfire.cache.execute.FunctionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.