presto-main/src/main/java/io/prestosql/execution/buffer/ArbitraryOutputBuffer.java/ArbitraryOutputBuffer/getBufferedPages
class ArbitraryOutputBuffer:        public int getBufferedPages()
        {
            return bufferedPages.get();
        }