synchronized boolean checkForTimeout() {
      if (waitMillis == -1 || waitMillis == Long.MAX_VALUE) {
        return false;
      }
      if (tryLock) {
        return false;
      }
      long now = DLockService.getLockTimeStamp(receivingDM);
      if (now < startTime) {
        now = startTime;
      }
      if (waitMillis + startTime - now <= 0) {
        if (logger.isTraceEnabled(LogMarker.DLS_VERBOSE)) {
          logger.trace(LogMarker.DLS_VERBOSE,
              "DLockRequestProcessor request timed out: waitMillis={} now={} startTime={}",
              waitMillis, now, startTime);
        }
        respondWithTimeout();
        return true;
      }
      return false;
    }
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