@Override
  public boolean equals(Object other) {
    if (other == this) {
      return true;
    }
    if (other == null) {
      return false;
    }
    if (!(other instanceof SubscriptionAttributes)) {
      return false;
    }
    final SubscriptionAttributes that = (SubscriptionAttributes) other;

    return interestPolicy == that.interestPolicy
        || interestPolicy != null && interestPolicy.equals(that.interestPolicy);
  }
Returns the interest policy of this subscriber.

@return the interest policy of this subscriber
geode-core/src/main/java/org/apache/geode/cache/SubscriptionAttributes.java