@Override
  public void fromData(DataInput in) throws IOException, ClassNotFoundException {
    regionName = DataSerializer.readString(in);
    keysOfInterest = DataSerializer.readHashSet(in);
    interestType = DataSerializer.readPrimitiveInt(in);
    isRegister = DataSerializer.readPrimitiveBoolean(in);
  }
Constructor.

@param regionName The name of the region to which this interest event belongs
geode-core/src/main/java/org/apache/geode/internal/cache/InterestRegistrationEventImpl.java