public class EntryOperations
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
ADD_OPERATION
Copied from EventTest
|
protected static int |
CLEAR_OPERATION |
protected static java.lang.String |
createCallbackPrefix |
protected static int |
DESTROY_OPERATION |
protected static java.lang.String |
destroyCallbackPrefix |
protected static int |
INVALIDATE_OPERATION |
protected static java.lang.String |
invalidateCallbackPrefix |
protected RegionKeyValueConfig |
keyValueConfig |
protected static int |
LOCAL_DESTROY_OPERATION |
protected static int |
LOCAL_INVALIDATE_OPERATION |
protected int |
lowerThreshold |
protected static java.lang.String |
memberIdString |
protected EntryOperationEvents |
operationRecorder |
protected java.lang.String |
opPrefix |
protected static int |
PUT_IF_ABSENT_OPERATION |
protected RandomValues |
randomValues |
protected static int |
READ_OPERATION |
protected com.gemstone.gemfire.cache.Region |
region |
protected static int |
REGION_CLOSE_OPERATION |
protected static java.lang.String |
regionDestroyCallbackPrefix |
protected static java.lang.String |
regionInvalidateCallbackPrefix |
protected static int |
REMOVE_OPERATION |
protected static int |
REPLACE_OPERATION |
protected static int |
UPDATE_OPERATION |
protected static java.lang.String |
updateCallbackPrefix |
protected int |
upperThreshold |
protected static java.lang.String |
VmIDStr |
| Constructor and Description |
|---|
EntryOperations(com.gemstone.gemfire.cache.Region region) |
EntryOperations(com.gemstone.gemfire.cache.Region r,
EntryOperationEvents op) |
| Modifier and Type | Method and Description |
|---|---|
void |
add() |
protected void |
addObject(java.lang.Object callback) |
void |
destroy() |
void |
destroyLocal() |
void |
doEntryOperation() |
protected void |
doOp(int op,
java.lang.Object callback) |
java.lang.String |
getExistingKey() |
java.lang.String |
getKeyWithProbability_25()
Returns key existing in the region for put with probability 0.25 Return new
key with p=.75
|
protected java.lang.Object |
getObjectToAdd(java.lang.String name) |
int |
getOperation(java.lang.Long whichPrm) |
int |
getOperationMaintainSize() |
protected java.lang.Object |
getUpdateObject(java.lang.String name) |
void |
invalidate() |
void |
invalidateLocal() |
protected boolean |
opAllowed(int op) |
void |
putIfAbsent() |
void |
read() |
void |
remove() |
void |
replace() |
void |
setKeyValueConfig(RegionKeyValueConfig keyValueConfig) |
void |
update() |
protected static final int ADD_OPERATION
protected static final int UPDATE_OPERATION
protected static final int INVALIDATE_OPERATION
protected static final int DESTROY_OPERATION
protected static final int READ_OPERATION
protected static final int LOCAL_INVALIDATE_OPERATION
protected static final int LOCAL_DESTROY_OPERATION
protected static final int REGION_CLOSE_OPERATION
protected static final int CLEAR_OPERATION
protected static final int PUT_IF_ABSENT_OPERATION
protected static final int REMOVE_OPERATION
protected static final int REPLACE_OPERATION
protected static final java.lang.String createCallbackPrefix
protected static final java.lang.String updateCallbackPrefix
protected static final java.lang.String invalidateCallbackPrefix
protected static final java.lang.String destroyCallbackPrefix
protected static final java.lang.String regionInvalidateCallbackPrefix
protected static final java.lang.String regionDestroyCallbackPrefix
protected static final java.lang.String memberIdString
protected static final java.lang.String VmIDStr
protected int lowerThreshold
protected int upperThreshold
protected RandomValues randomValues
protected EntryOperationEvents operationRecorder
protected java.lang.String opPrefix
protected com.gemstone.gemfire.cache.Region region
protected RegionKeyValueConfig keyValueConfig
public EntryOperations(com.gemstone.gemfire.cache.Region region)
public EntryOperations(com.gemstone.gemfire.cache.Region r,
EntryOperationEvents op)
public void setKeyValueConfig(RegionKeyValueConfig keyValueConfig)
public int getOperationMaintainSize()
public int getOperation(java.lang.Long whichPrm)
public void add()
public void putIfAbsent()
public void update()
public void replace()
public void read()
public void invalidateLocal()
public void invalidate()
public void destroyLocal()
public void destroy()
public void remove()
protected void addObject(java.lang.Object callback)
protected void doOp(int op,
java.lang.Object callback)
public void doEntryOperation()
protected boolean opAllowed(int op)
protected java.lang.Object getObjectToAdd(java.lang.String name)
protected java.lang.Object getUpdateObject(java.lang.String name)
public java.lang.String getKeyWithProbability_25()
public java.lang.String getExistingKey()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.