Gemfire JavaDocs
Class InterestOperationContext
- java.lang.Object
-
- org.apache.geode.cache.operations.OperationContext
-
- org.apache.geode.cache.operations.InterestOperationContext
-
- Direct Known Subclasses:
RegisterInterestOperationContext
,UnregisterInterestOperationContext
@Deprecated public abstract class InterestOperationContext extends OperationContext
Deprecated.since Geode1.0, useResourcePermission
insteadEncapsulates 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
Constructors Constructor Description InterestOperationContext(java.lang.Object key, InterestType interestType)
Deprecated.Constructor for the register interest operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InterestType
getInterestType()
Deprecated.Get theInterestType
of this register/unregister operation.java.lang.Object
getKey()
Deprecated.Get the key for this register/unregister interest operation.boolean
isPostOperation()
Deprecated.True if the context is for post-operation.void
setKey(java.lang.Object key)
Deprecated.Set the key for this register/unregister interest operation.-
Methods inherited from class org.apache.geode.cache.operations.OperationContext
getOperationCode, isClientUpdate, isClientUpdate
-
-
-
-
Constructor Detail
-
InterestOperationContext
public InterestOperationContext(java.lang.Object key, InterestType interestType)
Deprecated.Constructor for the register interest operation.- Parameters:
key
- the key or list of keys being registered/unregisteredinterestType
- theInterestType
of the register request
-
-
Method Detail
-
isPostOperation
public boolean isPostOperation()
Deprecated.True if the context is for post-operation.- Specified by:
isPostOperation
in classOperationContext
- Returns:
- whether the context is for post-operation
-
getKey
public java.lang.Object getKey()
Deprecated.Get the key for this register/unregister interest operation.- Returns:
- the key to be registered/unregistered.
-
setKey
public void setKey(java.lang.Object key)
Deprecated.Set the key for this register/unregister interest operation.- Parameters:
key
- the new key
-
getInterestType
public InterestType getInterestType()
Deprecated.Get theInterestType
of this register/unregister operation.- Returns:
- the
InterestType
of this request.
-
-