presto-main/src/main/java/io/prestosql/execution/buffer/ArbitraryOutputBuffer.java/ArbitraryOutputBuffer/setNoMorePages
class ArbitraryOutputBuffer:        public synchronized void setNoMorePages()
        {
            this.noMorePages = true;
        }