|
GemFire 5.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.operations.OperationContext.OperationCode
public static final class OperationContext.OperationCode
Enumeration for various cache operations. Implementations for each of the supported operation listed here are provided.
| Field Summary | |
|---|---|
static OperationContext.OperationCode |
CLOSE_CQ
A continuous query close operation. |
static OperationContext.OperationCode |
CONTAINS_KEY
A region containsKey operation. |
static OperationContext.OperationCode |
DESTROY
An entry destroy operation. |
static OperationContext.OperationCode |
EXECUTE_CQ
A continuous query execution operation. |
static OperationContext.OperationCode |
GET
An entry get operation. |
static OperationContext.OperationCode |
INVALIDATE
An entry invalidate operation. |
static OperationContext.OperationCode |
KEY_SET
A region keySet operation. |
static OperationContext.OperationCode |
PUT
An entry create/update operation. |
static OperationContext.OperationCode |
QUERY
A cache query operation. |
static OperationContext.OperationCode |
REGION_CLEAR
A region clear operation. |
static OperationContext.OperationCode |
REGION_CREATE
A region create operation. |
static OperationContext.OperationCode |
REGION_DESTROY
A region destroy operation. |
static OperationContext.OperationCode |
REGISTER_INTEREST
A register interest operation. |
static OperationContext.OperationCode |
STOP_CQ
A continuous query stop operation. |
static OperationContext.OperationCode |
UNREGISTER_INTEREST
An unregister interest operation. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Indicates whether other object is same as this one. |
boolean |
equals(OperationContext.OperationCode opCode)
Indicates whether other OperationCode is same as this one. |
static OperationContext.OperationCode |
fromOrdinal(byte opCode)
Returns the OperationCode represented by specified byte. |
int |
hashCode()
Returns a hash code value for this OperationCode which is
the same as the byte representing its operation type. |
boolean |
isCloseCQ()
Returns true if this is a continuous query close operation. |
boolean |
isContainsKey()
Returns true if this is a region containsKey operation. |
boolean |
isDestroy()
Returns true if this is an entry destroy operation. |
boolean |
isExecuteCQ()
Returns true if this is a continuous query execution operation. |
boolean |
isGet()
Returns true if this is a entry get operation. |
boolean |
isInvalidate()
Returns true if this is an entry invalidate operation. |
boolean |
isKeySet()
Returns true if this is a region keySet operation. |
boolean |
isPut()
Returns true if this is a entry create/update operation. |
boolean |
isQuery()
Returns true if this is a cache query operation. |
boolean |
isRegionClear()
Returns true if this is a region clear operation. |
boolean |
isRegionCreate()
Returns true if this is a region create operation. |
boolean |
isRegionDestroy()
Returns true if this is a region destroy operation. |
boolean |
isRegisterInterest()
Returns true if this is a register interest operation. |
boolean |
isStopCQ()
Returns true if this is a continuous query stop operation. |
boolean |
isUnregisterInterest()
Returns true if this is an unregister interest operation. |
static OperationContext.OperationCode |
parse(String operationName)
Returns the OperationCode represented by specified string. |
byte |
toOrdinal()
Returns the byte representing this operation code. |
String |
toString()
Returns a string representation for this operation. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final OperationContext.OperationCode GET
Region.get(Object)public static final OperationContext.OperationCode PUT
Region.put(Object, Object)public static final OperationContext.OperationCode DESTROY
Region.destroy(Object, Object)public static final OperationContext.OperationCode INVALIDATE
Region.invalidate(Object, Object)public static final OperationContext.OperationCode REGISTER_INTEREST
Region.registerInterest(java.lang.Object)public static final OperationContext.OperationCode UNREGISTER_INTEREST
Region.unregisterInterest(java.lang.Object)public static final OperationContext.OperationCode CONTAINS_KEY
containsKey operation.
Region.containsKey(java.lang.Object)public static final OperationContext.OperationCode KEY_SET
keySet operation.
Region.keySet()public static final OperationContext.OperationCode QUERY
Region.query(java.lang.String)public static final OperationContext.OperationCode EXECUTE_CQ
public static final OperationContext.OperationCode STOP_CQ
public static final OperationContext.OperationCode CLOSE_CQ
public static final OperationContext.OperationCode REGION_CLEAR
Region.clear()public static final OperationContext.OperationCode REGION_CREATE
Region.createSubregion(java.lang.String, com.gemstone.gemfire.cache.RegionAttributes),
Cache.createRegion(java.lang.String, com.gemstone.gemfire.cache.RegionAttributes)public static final OperationContext.OperationCode REGION_DESTROY
Region.destroyRegion()| Method Detail |
|---|
public boolean isGet()
public boolean isPut()
public boolean isDestroy()
public boolean isInvalidate()
public boolean isRegisterInterest()
public boolean isUnregisterInterest()
public boolean isContainsKey()
containsKey operation.
public boolean isKeySet()
keySet operation.
public boolean isQuery()
public boolean isExecuteCQ()
public boolean isStopCQ()
public boolean isCloseCQ()
public boolean isRegionClear()
public boolean isRegionCreate()
public boolean isRegionDestroy()
public static OperationContext.OperationCode fromOrdinal(byte opCode)
OperationCode represented by specified byte.
public static OperationContext.OperationCode parse(String operationName)
OperationCode represented by specified string.
public byte toOrdinal()
public final String toString()
toString in class Objectpublic final boolean equals(Object obj)
equals in class Objectpublic final boolean equals(OperationContext.OperationCode opCode)
OperationCode is same as this one.
OperationCode is same as this one.public final int hashCode()
OperationCode which is
the same as the byte representing its operation type.
hashCode in class Object
|
GemFire 5.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||