presto-hive/src/main/java/io/prestosql/plugin/hive/util/ThrottledAsyncQueue.java/ThrottledAsyncQueue/ThrottledAsyncQueue
class ThrottledAsyncQueue:    public ThrottledAsyncQueue(int maxBatchSizePerSec, int targetQueueSize, Executor executor)
    {
        super(targetQueueSize, executor);
        this.executor = executor;
        this.maxBatchSizePerSec = maxBatchSizePerSec;
        this.rateLimiter = RateLimiter.create(maxBatchSizePerSec);
    }