Class InterestOperationContext
java.lang.Object
org.apache.geode.cache.operations.OperationContext
org.apache.geode.cache.operations.InterestOperationContext
- Direct Known Subclasses:
RegisterInterestOperationContext,UnregisterInterestOperationContext
Deprecated.
Encapsulates registration/unregistration of interest in a region.
- Since:
- GemFire 5.5
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.geode.cache.operations.OperationContext
OperationContext.OperationCode -
Constructor Summary
ConstructorsConstructorDescriptionInterestOperationContext(Object key, InterestType interestType) Deprecated.Constructor for the register interest operation. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get theInterestTypeof this register/unregister operation.getKey()Deprecated.Get the key for this register/unregister interest operation.booleanDeprecated.True if the context is for post-operation.voidDeprecated.Set the key for this register/unregister interest operation.Methods inherited from class org.apache.geode.cache.operations.OperationContext
getOperationCode, isClientUpdate, isClientUpdate
-
Constructor Details
-
InterestOperationContext
Deprecated.Constructor for the register interest operation.- Parameters:
key- the key or list of keys being registered/unregisteredinterestType- theInterestTypeof the register request
-
-
Method Details
-
isPostOperation
public boolean isPostOperation()Deprecated.True if the context is for post-operation.- Specified by:
isPostOperationin classOperationContext- Returns:
- whether the context is for post-operation
-
getKey
Deprecated.Get the key for this register/unregister interest operation.- Returns:
- the key to be registered/unregistered.
-
setKey
Deprecated.Set the key for this register/unregister interest operation.- Parameters:
key- the new key
-
getInterestType
Deprecated.Get theInterestTypeof this register/unregister operation.- Returns:
- the
InterestTypeof this request.
-
ResourcePermissioninstead