Gemfire JavaDocs_test
Class RegisterInterestOperationContext
- java.lang.Object
-
- org.apache.geode.cache.operations.OperationContext
-
- org.apache.geode.cache.operations.InterestOperationContext
-
- org.apache.geode.cache.operations.RegisterInterestOperationContext
-
@Deprecated public class RegisterInterestOperationContext extends InterestOperationContext
Deprecated.since Geode1.0, useResourcePermission
insteadEncapsulates aOperationContext.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
Constructors Constructor Description RegisterInterestOperationContext(java.lang.Object key, InterestType interestType, InterestResultPolicy policy)
Deprecated.Constructor for the register interest operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InterestResultPolicy
getInterestResultPolicy()
Deprecated.Get theInterestResultPolicy
of this register/unregister operation.OperationContext.OperationCode
getOperationCode()
Deprecated.Return the operation associated with theOperationContext
object.-
Methods inherited from class org.apache.geode.cache.operations.InterestOperationContext
getInterestType, getKey, isPostOperation, setKey
-
Methods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
-
-
-
Constructor Detail
-
RegisterInterestOperationContext
public RegisterInterestOperationContext(java.lang.Object key, InterestType interestType, InterestResultPolicy policy)
Deprecated.Constructor for the register interest operation.- Parameters:
key
- the key or list of keys being registeredinterestType
- theInterestType
of the register requestpolicy
- theInterestResultPolicy
of the register request
-
-
Method Detail
-
getOperationCode
public OperationContext.OperationCode getOperationCode()
Deprecated.Return the operation associated with theOperationContext
object.- Specified by:
getOperationCode
in classOperationContext
- Returns:
OperationCode.REGISTER_INTEREST
.
-
getInterestResultPolicy
public InterestResultPolicy getInterestResultPolicy()
Deprecated.Get theInterestResultPolicy
of this register/unregister operation.- Returns:
- the
InterestResultPolicy
of this request.
-
-