void endGrantWaitStatistic() {
      if (statStart == -1) {
        return; // failed to start the stat
      }
      DistributedLockStats stats = DLockService.getDistributedLockStats();
      switch (response.responseCode) {
        case DLockResponseMessage.GRANT:
          stats.endGrantWait(statStart);
          break;
        case DLockResponseMessage.NOT_GRANTOR:
          stats.endGrantWaitNotGrantor(statStart);
          break;
        case DLockResponseMessage.TIMEOUT:
          stats.endGrantWaitTimeout(statStart);
          break;
        case DLockResponseMessage.SUSPENDED:
          stats.endGrantWaitSuspended(statStart);
          break;
        case DLockResponseMessage.NOT_HOLDER:
          stats.endGrantWaitNotHolder(statStart);
          break;
        case DLockResponseMessage.TRY_LOCK_FAILED:
          stats.endGrantWaitFailed(statStart);
          break;
        case DLockResponseMessage.DESTROYED:
          stats.endGrantWaitDestroyed(statStart);
          break;
        default:
          Assert.assertTrue(false, "Unknown responseCode: " + response.responseCode);
          break;
      }
    }
Return the timestamp at which this request should timeout. If it should never timeout then
returns Long.MAX_VALUE.
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockRequestProcessor.java