@Override
  public void toData(DataOutput out) throws IOException {
    DataSerializer.writeString(name, out);
    DataSerializer.writeObject(stats, out);
    DataSerializer.writeObject(attributes, out);
    out.writeInt(entryCount);
    out.writeInt(subregionCount);
    DataSerializer.writeObject(userAttribute, out);
  }
This constructor is only for use by the DataSerializableMechanism
geode-core/src/main/java/org/apache/geode/internal/admin/remote/RemoteRegionSnapshot.java