@Override
  public void toData(DataOutput out) throws IOException {
    DataSerializer.writeByteArray(bytes, out);
    DataSerializer.writeString(name, out);
    out.writeInt(identifier);
  }
Object used for the put() operation as key and object. The objectIdentifier is used to provide a
predetermined hashcode for the object.
geode-junit/src/main/java/org/apache/geode/internal/cache/TestObjectWithIdentifier.java