VMware GemFire Java API Reference
Enum OperationContext.OperationCode
- java.lang.Object
-
- java.lang.Enum<OperationContext.OperationCode>
-
- org.apache.geode.cache.operations.OperationContext.OperationCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OperationContext.OperationCode>
- Enclosing class:
- OperationContext
public static enum OperationContext.OperationCode extends java.lang.Enum<OperationContext.OperationCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSE_CQDeprecated.CONTAINS_KEYDeprecated.DESTROYDeprecated.EXECUTE_CQDeprecated.EXECUTE_FUNCTIONDeprecated.GETDeprecated.GET_DURABLE_CQSDeprecated.INVALIDATEDeprecated.KEY_SETDeprecated.PUTDeprecated.PUTALLDeprecated.QUERYDeprecated.REGION_CLEARDeprecated.REGION_CREATEDeprecated.REGION_DESTROYDeprecated.REGISTER_INTERESTDeprecated.REMOVEALLDeprecated.STOP_CQDeprecated.UNREGISTER_INTERESTDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanisCloseCQ()Deprecated.UsegetOperationCode() == CLOSE_CQinsteadbooleanisContainsKey()Deprecated.UsegetOperationCode() == CONTAINS_KEYinsteadbooleanisDestroy()Deprecated.UsegetOperationCode() == DESTROYinsteadbooleanisExecuteCQ()Deprecated.UsegetOperationCode() == EXECUTE_CQinsteadbooleanisExecuteRegionFunction()Deprecated.UsegetOperationCode() == EXECUTE_FUNCTIONinsteadbooleanisGet()Deprecated.UsegetOperationCode() == GETinsteadbooleanisGetDurableCQs()Deprecated.UsegetOperationCode() == GET_DURABLE_CQSinsteadbooleanisInvalidate()Deprecated.UsegetOperationCode() == INVALIDATEinsteadbooleanisKeySet()Deprecated.UsegetOperationCode() == KEY_SETinsteadbooleanisPut()Deprecated.UsegetOperationCode() == PUTinsteadbooleanisPutAll()Deprecated.UsegetOperationCode() == PUTALLinsteadbooleanisQuery()Deprecated.UsegetOperationCode() == QUERYinsteadbooleanisRegionClear()Deprecated.UsegetOperationCode() == REGION_CLEARinsteadbooleanisRegionCreate()Deprecated.UsegetOperationCode() == REGION_CREATEinsteadbooleanisRegionDestroy()Deprecated.UsegetOperationCode() == REGION_DESTROYinsteadbooleanisRegisterInterest()Deprecated.UsegetOperationCode() == REGISTER_INTERESTinsteadbooleanisRemoveAll()Deprecated.UsegetOperationCode() == REMOVEALLinsteadbooleanisStopCQ()Deprecated.UsegetOperationCode() == STOP_CQinsteadbooleanisUnregisterInterest()Deprecated.UsegetOperationCode() == UNREGISTER_INTERESTinsteadstatic OperationContext.OperationCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OperationContext.OperationCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET
@Deprecated public static final OperationContext.OperationCode GET
Deprecated.
-
PUT
@Deprecated public static final OperationContext.OperationCode PUT
Deprecated.
-
PUTALL
@Deprecated public static final OperationContext.OperationCode PUTALL
Deprecated.
-
REMOVEALL
@Deprecated public static final OperationContext.OperationCode REMOVEALL
Deprecated.
-
DESTROY
@Deprecated public static final OperationContext.OperationCode DESTROY
Deprecated.
-
INVALIDATE
@Deprecated public static final OperationContext.OperationCode INVALIDATE
Deprecated.
-
REGISTER_INTEREST
@Deprecated public static final OperationContext.OperationCode REGISTER_INTEREST
Deprecated.
-
UNREGISTER_INTEREST
@Deprecated public static final OperationContext.OperationCode UNREGISTER_INTEREST
Deprecated.
-
CONTAINS_KEY
@Deprecated public static final OperationContext.OperationCode CONTAINS_KEY
Deprecated.
-
KEY_SET
@Deprecated public static final OperationContext.OperationCode KEY_SET
Deprecated.
-
QUERY
@Deprecated public static final OperationContext.OperationCode QUERY
Deprecated.
-
EXECUTE_CQ
@Deprecated public static final OperationContext.OperationCode EXECUTE_CQ
Deprecated.
-
STOP_CQ
@Deprecated public static final OperationContext.OperationCode STOP_CQ
Deprecated.
-
CLOSE_CQ
@Deprecated public static final OperationContext.OperationCode CLOSE_CQ
Deprecated.
-
REGION_CLEAR
@Deprecated public static final OperationContext.OperationCode REGION_CLEAR
Deprecated.
-
REGION_CREATE
@Deprecated public static final OperationContext.OperationCode REGION_CREATE
Deprecated.
-
REGION_DESTROY
@Deprecated public static final OperationContext.OperationCode REGION_DESTROY
Deprecated.
-
EXECUTE_FUNCTION
@Deprecated public static final OperationContext.OperationCode EXECUTE_FUNCTION
Deprecated.
-
GET_DURABLE_CQS
@Deprecated public static final OperationContext.OperationCode GET_DURABLE_CQS
Deprecated.
-
-
Method Detail
-
values
public static OperationContext.OperationCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperationContext.OperationCode c : OperationContext.OperationCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationContext.OperationCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isGet
@Deprecated public boolean isGet()
Deprecated.UsegetOperationCode() == GETinsteadCheck if this is an entry get operation.- Returns:
- true if this is an entry get operation
-
isPut
@Deprecated public boolean isPut()
Deprecated.UsegetOperationCode() == PUTinsteadCheck if this is a entry create/update operation.- Returns:
- true if this is a entry create/update operation.
-
isPutAll
@Deprecated public boolean isPutAll()
Deprecated.UsegetOperationCode() == PUTALLinsteadCheck if this is a map putAll operation.- Returns:
- true if this is a map putAll operation.
-
isRemoveAll
@Deprecated public boolean isRemoveAll()
Deprecated.UsegetOperationCode() == REMOVEALLinsteadCheck if this is a region removeAll operation.- Returns:
- true if this is a region removeAll operation.
- Since:
- GemFire 8.1
-
isDestroy
@Deprecated public boolean isDestroy()
Deprecated.UsegetOperationCode() == DESTROYinsteadCheck if this is an entry destroy operation.- Returns:
- true if this is an entry destroy operation.
-
isInvalidate
@Deprecated public boolean isInvalidate()
Deprecated.UsegetOperationCode() == INVALIDATEinsteadCheck if this is an entry invalidate operation.- Returns:
- true if this is an entry invalidate operation.
-
isRegisterInterest
@Deprecated public boolean isRegisterInterest()
Deprecated.UsegetOperationCode() == REGISTER_INTERESTinsteadCheck if this is a register interest operation.- Returns:
- true if this is a register interest operation.
-
isUnregisterInterest
@Deprecated public boolean isUnregisterInterest()
Deprecated.UsegetOperationCode() == UNREGISTER_INTERESTinsteadCheck if this is an unregister interest operation.- Returns:
- true if this is an unregister interest operation.
-
isContainsKey
@Deprecated public boolean isContainsKey()
Deprecated.UsegetOperationCode() == CONTAINS_KEYinsteadCheck if this is a regioncontainsKeyoperation.- Returns:
- true if this is a region
containsKeyoperation.
-
isKeySet
@Deprecated public boolean isKeySet()
Deprecated.UsegetOperationCode() == KEY_SETinsteadCheck if this is a regionkeySetoperation.- Returns:
- true if this is a region
keySetoperation.
-
isQuery
@Deprecated public boolean isQuery()
Deprecated.UsegetOperationCode() == QUERYinsteadCheck if this is a cache query operation.- Returns:
- true if this is a cache query operation.
-
isExecuteCQ
@Deprecated public boolean isExecuteCQ()
Deprecated.UsegetOperationCode() == EXECUTE_CQinsteadCheck if this is a continuous query execution operation.- Returns:
- true if this is a continuous query execution operation.
-
isStopCQ
@Deprecated public boolean isStopCQ()
Deprecated.UsegetOperationCode() == STOP_CQinsteadCheck if this is a continuous query stop operation.- Returns:
- true if this is a continuous query stop operation.
-
isCloseCQ
@Deprecated public boolean isCloseCQ()
Deprecated.UsegetOperationCode() == CLOSE_CQinsteadCheck if this is a continuous query close operation.- Returns:
- true if this is a continuous query close operation.
-
isRegionClear
@Deprecated public boolean isRegionClear()
Deprecated.UsegetOperationCode() == REGION_CLEARinsteadCheck if this is a region clear operation.- Returns:
- true if this is a region clear operation.
-
isRegionCreate
@Deprecated public boolean isRegionCreate()
Deprecated.UsegetOperationCode() == REGION_CREATEinsteadCheck if this is a region create operation.- Returns:
- true if this is a region create operation.
-
isRegionDestroy
@Deprecated public boolean isRegionDestroy()
Deprecated.UsegetOperationCode() == REGION_DESTROYinsteadCheck if this is a region destroy operation.- Returns:
- true if this is a region destroy operation.
-
isExecuteRegionFunction
@Deprecated public boolean isExecuteRegionFunction()
Deprecated.UsegetOperationCode() == EXECUTE_FUNCTIONinsteadCheck if this is a execute region function operation.- Returns:
- true if this is a execute region function operation.
-
isGetDurableCQs
@Deprecated public boolean isGetDurableCQs()
Deprecated.UsegetOperationCode() == GET_DURABLE_CQSinsteadCheck if this is a get durable cqs operation.- Returns:
- true if this is a get durable cqs operation.
-
-