@Override
  public void closeEntries() {
    OffHeapClearRequired.doWithOffHeapClear(AbstractBucketRegionQueue.super::closeEntries);
    clearQueues();

  }
It should be an atomic operation. If the key has been added to the eventSeqNumQueue then make
sure that the value is in the Bucket before the eventSeqNumQueue is available for
peek/remove/take from other thread.

@return boolean which shows whether the operation was successful or not.
geode-core/src/main/java/org/apache/geode/internal/cache/AbstractBucketRegionQueue.java