private void sleep(long millis, boolean interruptible) throws InterruptedException {
    if (interruptible) {
      if (Thread.interrupted()) {
        throw new InterruptedException();
      }
      Thread.sleep(millis);
    } else {
      sleep(millis);
    }
  }
Causes the current thread to sleep for millis and may or may not be interruptible
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java