public LockGrantorId peekLockGrantorId() {
    Assert.assertHoldsLock(destroyLock, false);
    synchronized (lockGrantorIdLock) {
      LockGrantorId currentLockGrantorId = lockGrantorId;
      if (currentLockGrantorId != null) {
        return currentLockGrantorId;
      }
    }

    long statStart = getStats().startGrantorWait();
    LockGrantorId theLockGrantorId = null;
    try {
      // 1st thread wins the right to request grantor info from elder
      GrantorInfo gi = peekGrantor();
      InternalDistributedMember lockGrantorMember = gi.getId();
      if (lockGrantorMember == null) {
        return null;
      }
      theLockGrantorId =
          new LockGrantorId(dm, lockGrantorMember, gi.getVersionId(), gi.getSerialNumber());
      return theLockGrantorId;
    } finally {
      boolean getLockGrantorIdFailed = theLockGrantorId == null;
      getStats().endGrantorWait(statStart, getLockGrantorIdFailed);
    }
  }
Returns id of the current lock grantor for this service. If necessary, a request will be sent
to the elder to fetch this information. Unlike getLockGrantorId this call will not become the
lock grantor.
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java