public static DLockRemoteToken createFromDLockToken(DLockToken token) {
    synchronized (token) {
      return new DLockRemoteToken(token.getName(), token.getLesseeThread(), token.getLeaseId(),
          token.getLeaseExpireTime());
    }
  }
Creates a new immutable instance of DLockRemoteToken representing the current lease tracked by
DLockToken. Synchronizes on the provided DLockToken to read data from it.

@param token the lock token to gather lease information from
@return new immutable instance of DLockRemoteToken
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockRemoteToken.java