@Override
  public void endGrantorWait(long start, boolean success) {
    long ts = getTime();
    stats.incLong(grantorWaitsInProgressId, -1);
    if (success) {
      stats.incLong(grantorWaitsCompletedId, 1);
      if (DistributionStats.enableClockStats) {
        stats.incLong(grantorWaitTimeId, ts - start);
      }
    } else {
      stats.incLong(grantorWaitsFailedId, 1);
      if (DistributionStats.enableClockStats) {
        stats.incLong(grantorWaitFailedTimeId, ts - start);
      }
    }
  }
Creates a new <code>DLockStats</code> and registers itself with the given statistics factory.
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockStats.java