protected Collection snapshotGrantTokens() {
    Collection snapshot = null;
    synchronized (grantTokens) {
      snapshot = new ArrayList(grantTokens.values());
    }
    return snapshot;
  }
Returns a snapshot of the current grant tokens.
<p>
Synchronizes on grantTokens.

@return a snapshot of the current grant tokens
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java