public static DLockRemoteToken createFromDataInput(DataInput in)
      throws IOException, ClassNotFoundException {
    Object name = DataSerializer.readObject(in);
    RemoteThread lesseeThread = null;
    InternalDistributedMember lessee = DataSerializer.readObject(in);
    lesseeThread = new RemoteThread(lessee, in.readInt());
    int leaseId = in.readInt();
    long leaseExpireTime = in.readLong();
    return new DLockRemoteToken(name, lesseeThread, leaseId, leaseExpireTime);
  }
Creates a new immutable instance of DLockRemoteToken from the provided DataInput.

@param in the input stream to gather state from
@return new immutable instance of DLockRemoteToken
@throws IOException if DataSerializer failed to read object from input stream
@throws ClassNotFoundException if DataSerializer failed to find class to read object from input
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockRemoteToken.java