@Override
  public void toData(DataOutput out) throws IOException {
    DataSerializer.writeString(name, out);
    out.writeInt(id);
    out.writeBoolean(closed);
    out.writeInt(lockTimeout);
    out.writeInt(lockLease);
    out.writeInt(searchTimeout);
    out.writeInt(upTime);
    DataSerializer.writeStringArray(rootRegionNames, out);
    DataSerializer.writeObject(perfStats, out);
    DataSerializer.writeIntArray(bridgeServerIds, out);
    out.writeBoolean(isServer);
  }
For use only by DataExternalizable mechanism
geode-core/src/main/java/org/apache/geode/internal/admin/remote/RemoteCacheInfo.java