private Object readResolve() throws ObjectStreamException {
    return VALUES[ordinal]; // Canonicalize
  }
used as ordinal to represent this InterestPolicy
geode-core/src/main/java/org/apache/geode/cache/InterestPolicy.java