DLockGrantToken handleLockQuery(DLockQueryMessage query) throws InterruptedException {
    if (logger.isTraceEnabled(LogMarker.DLS_VERBOSE)) {
      logger.trace(LogMarker.DLS_VERBOSE, "[DLockGrantor.handleLockQuery] {}", query);
    }
    if (acquireDestroyReadLock(0)) {
      try {
        checkDestroyed();
        return getGrantToken(query.objectName);
      } finally {
        releaseDestroyReadLock();
      }
    }
    return null;
  }
Handles a DLockQueryMessage. Returns DLockGrantToken for the lock or null.
<p>
Acquires destroyReadLock. Synchronizes on grantTokens.

@param query the dlock query message to handle
@return DLockGrantToken for the lock or null
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java