public void evictOne() {
    if (queue.isEmpty()) {
      return;
    }
    Integer elementToDelete = queue.poll();
    this.remove(elementToDelete);
  }
Removes the eldest entry from the boundary cache.
ql/src/java/org/apache/hadoop/hive/ql/exec/BoundaryCache.java