public class EntryOperations extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
ADD_OPERATION
Copied from EventTest
|
protected static int |
CLEAR_OPERATION |
protected static String |
createCallbackPrefix |
protected static int |
DESTROY_OPERATION |
protected static String |
destroyCallbackPrefix |
protected static int |
INVALIDATE_OPERATION |
protected static String |
invalidateCallbackPrefix |
protected RegionKeyValueConfig |
keyValueConfig |
protected static int |
LOCAL_DESTROY_OPERATION |
protected static int |
LOCAL_INVALIDATE_OPERATION |
protected int |
lowerThreshold |
protected static String |
memberIdString |
protected EntryOperationEvents |
operationRecorder |
protected 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 String |
regionDestroyCallbackPrefix |
protected static String |
regionInvalidateCallbackPrefix |
protected static int |
REMOVE_OPERATION |
protected static int |
REPLACE_OPERATION |
protected static int |
UPDATE_OPERATION |
protected static String |
updateCallbackPrefix |
protected int |
upperThreshold |
protected static 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(Object callback) |
void |
destroy() |
void |
destroyLocal() |
void |
doEntryOperation() |
protected void |
doOp(int op,
Object callback) |
String |
getExistingKey() |
String |
getKeyWithProbability_25()
Returns key existing in the region for put with probability 0.25 Return new
key with p=.75
|
protected Object |
getObjectToAdd(String name) |
int |
getOperation(Long whichPrm) |
int |
getOperationMaintainSize() |
protected Object |
getUpdateObject(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 String createCallbackPrefix
protected static final String updateCallbackPrefix
protected static final String invalidateCallbackPrefix
protected static final String destroyCallbackPrefix
protected static final String regionInvalidateCallbackPrefix
protected static final String regionDestroyCallbackPrefix
protected static final String memberIdString
protected static final String VmIDStr
protected int lowerThreshold
protected int upperThreshold
protected RandomValues randomValues
protected EntryOperationEvents operationRecorder
protected 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(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(Object callback)
protected void doOp(int op,
Object callback)
public void doEntryOperation()
protected boolean opAllowed(int op)
public String getKeyWithProbability_25()
public String getExistingKey()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.