@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    context.getSerializer().writeObject(name, out);
    context.getSerializer().writeObject(lesseeThread.getDistributedMember(), out);
    out.writeInt(lesseeThread.getThreadId());
    out.writeInt(leaseId);
    out.writeLong(leaseExpireTime);
  }
Writes the contents of this object to the given output.
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockRemoteToken.java