ResourcePermission
instead@Deprecated public class RegisterInterestOperationContext extends InterestOperationContext
OperationContext.OperationCode.REGISTER_INTEREST
region
operation for the pre-operation case.OperationContext.OperationCode
Constructor and Description |
---|
RegisterInterestOperationContext(Object key,
InterestType interestType,
InterestResultPolicy policy)
Deprecated.
Constructor for the register interest operation.
|
Modifier and Type | Method and Description |
---|---|
InterestResultPolicy |
getInterestResultPolicy()
Deprecated.
Get the
InterestResultPolicy of this register/unregister operation. |
OperationContext.OperationCode |
getOperationCode()
Deprecated.
Return the operation associated with the
OperationContext object. |
getInterestType, getKey, isPostOperation, setKey
isClientUpdate, isClientUpdate
public RegisterInterestOperationContext(Object key, InterestType interestType, InterestResultPolicy policy)
key
- the key or list of keys being registeredinterestType
- the InterestType
of the register requestpolicy
- the InterestResultPolicy
of the register requestpublic OperationContext.OperationCode getOperationCode()
OperationContext
object.getOperationCode
in class OperationContext
OperationCode.REGISTER_INTEREST
.public InterestResultPolicy getInterestResultPolicy()
InterestResultPolicy
of this register/unregister operation.InterestResultPolicy
of this request.