@Override
  public void freeResources(Object name) {
    checkDestroyed();
    if (name == null) {
      removeAllUnusedTokens();
    } else {
      removeTokenIfUnused(name);
    }
  }
@param predecessor non-null if a predecessor asked us to take over for it
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java