Class RegisterInterestOperationContext
java.lang.Object
org.apache.geode.cache.operations.OperationContext
org.apache.geode.cache.operations.InterestOperationContext
org.apache.geode.cache.operations.RegisterInterestOperationContext
Deprecated.
Encapsulates a
OperationContext.OperationCode.REGISTER_INTEREST region
operation for the pre-operation case.- Since:
- GemFire 5.5
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.geode.cache.operations.OperationContext
OperationContext.OperationCode -
Constructor Summary
ConstructorsConstructorDescriptionRegisterInterestOperationContext(Object key, InterestType interestType, InterestResultPolicy policy) Deprecated.Constructor for the register interest operation. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get theInterestResultPolicyof this register/unregister operation.Deprecated.Return the operation associated with theOperationContextobject.Methods inherited from class org.apache.geode.cache.operations.InterestOperationContext
getInterestType, getKey, isPostOperation, setKeyMethods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
Constructor Details
-
RegisterInterestOperationContext
public RegisterInterestOperationContext(Object key, InterestType interestType, InterestResultPolicy policy) Deprecated.Constructor for the register interest operation.- Parameters:
key- the key or list of keys being registeredinterestType- theInterestTypeof the register requestpolicy- theInterestResultPolicyof the register request
-
-
Method Details
-
getOperationCode
Deprecated.Return the operation associated with theOperationContextobject.- Specified by:
getOperationCodein classOperationContext- Returns:
OperationCode.REGISTER_INTEREST.
-
getInterestResultPolicy
Deprecated.Get theInterestResultPolicyof this register/unregister operation.- Returns:
- the
InterestResultPolicyof this request.
-
ResourcePermissioninstead