public boolean destroyFromAvailableIDs(Long position) {
    if (logger.isDebugEnabled()) {
      logger.debug("Removing position " + position + " from available IDs. Region: " + regionName);
    }

    boolean removedOK;
    acquireWriteLock();
    try {
      removedOK = idsAvailable.remove(position);
      if (!removedOK) {
        removedOK = removeFromOtherLists(position);
      }
      if (removedOK) {
        incrementTakeSidePutPermits();
      }
    } finally {
      releaseWriteLock();
    }
    return removedOK;
  }
@param position Long value present in the Available IDs map against which Event object is
       present in HARegion. This function is directly invoked from the basicInvalidate function
       where
       expiry is aborted if this function returns false
@return boolean true if the position could be removed from the Set
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java