private void updateLargestQueuedKey(Long key) {
    Atomics.setIfGreater(latestQueuedKey, key);
  }
This method returns a list of objects that fulfill the matchingPredicate.
If a matching object also fulfills the endPredicate then the method
stops looking for more matching objects.
geode-core/src/main/java/org/apache/geode/internal/cache/BucketRegionQueue.java