public int size() {
    return size;
  }
set the upper bound of eviction.

@param evictionUpperBound valid elements [evictionUpperBound, size)
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/windowing/window/EvictableBatchList.java