@Override
  public void toData(DataOutput out) throws IOException {
    out.writeByte(interestPolicy.ordinal);
  }
Returns a string representation of the object.

@return a string representation of the object
geode-core/src/main/java/org/apache/geode/cache/SubscriptionAttributes.java