public final synchronized int size() {
    return size;
  }
Get the current queue size.

@return the current queue size.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/schedule/queue/IndexedBlockingQueue.java