com.gemstone.gemfire.cache.operations
Class RegisterInterestOperationContext
java.lang.Object
com.gemstone.gemfire.cache.operations.OperationContext
com.gemstone.gemfire.cache.operations.InterestOperationContext
com.gemstone.gemfire.cache.operations.RegisterInterestOperationContext
public class RegisterInterestOperationContext
- extends InterestOperationContext
Encapsulates a OperationContext.OperationCode.REGISTER_INTEREST region operation for
the pre-operation case.
- Since:
- 5.5
RegisterInterestOperationContext
public RegisterInterestOperationContext(Object key,
InterestType interestType,
InterestResultPolicy policy)
- Constructor for the register interest operation.
- Parameters:
key - the key or list of keys being registeredinterestType - the InterestType of the register requestpolicy - the InterestResultPolicy of the register
request
getOperationCode
public OperationContext.OperationCode getOperationCode()
- Return the operation associated with the
OperationContext
object.
- Specified by:
getOperationCode in class OperationContext
- Returns:
OperationCode.REGISTER_INTEREST.
getInterestResultPolicy
public InterestResultPolicy getInterestResultPolicy()
- Get the
InterestResultPolicy of this register/unregister
operation.
- Returns:
- the
InterestResultPolicy of this request.
Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.