@Override
  public int hashCode() {
    int result = 17;
    final int mult = 37;

    result = mult * result + interestPolicy.hashCode();

    return result;
  }
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