public class RegisterInterestOperationContext extends InterestOperationContext
OperationContext.OperationCode.REGISTER_INTEREST region operation for
the pre-operation case.OperationContext.OperationCode| Constructor and Description |
|---|
RegisterInterestOperationContext(java.lang.Object key,
InterestType interestType,
InterestResultPolicy policy)
Constructor for the register interest operation.
|
| Modifier and Type | Method and Description |
|---|---|
InterestResultPolicy |
getInterestResultPolicy()
Get the
InterestResultPolicy of this register/unregister
operation. |
OperationContext.OperationCode |
getOperationCode()
Return the operation associated with the
OperationContext
object. |
getInterestType, getKey, isPostOperation, setKeyisClientUpdate, isClientUpdatepublic RegisterInterestOperationContext(java.lang.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 OperationContextOperationCode.REGISTER_INTEREST.public InterestResultPolicy getInterestResultPolicy()
InterestResultPolicy of this register/unregister
operation.InterestResultPolicy of this request.