Class RegisterInterestOperationContext


@Deprecated public class RegisterInterestOperationContext extends InterestOperationContext
Deprecated.
since Geode1.0, use ResourcePermission instead
Encapsulates a OperationContext.OperationCode.REGISTER_INTEREST region operation for the pre-operation case.
Since:
GemFire 5.5
  • Constructor Details

    • RegisterInterestOperationContext

      public RegisterInterestOperationContext(Object key, InterestType interestType, InterestResultPolicy policy)
      Deprecated.
      Constructor for the register interest operation.
      Parameters:
      key - the key or list of keys being registered
      interestType - the InterestType of the register request
      policy - the InterestResultPolicy of the register request
  • Method Details

    • getOperationCode

      public OperationContext.OperationCode getOperationCode()
      Deprecated.
      Return the operation associated with the OperationContext object.
      Specified by:
      getOperationCode in class OperationContext
      Returns:
      OperationCode.REGISTER_INTEREST.
    • getInterestResultPolicy

      public InterestResultPolicy getInterestResultPolicy()
      Deprecated.
      Get the InterestResultPolicy of this register/unregister operation.
      Returns:
      the InterestResultPolicy of this request.