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)
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, 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.Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.