presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/util/SynchronizedResultIterator.java/SynchronizedResultIterator/next
class SynchronizedResultIterator:    @Override
    public synchronized T next()
    {
        checkState(!closed, "already closed");
        return iterator.next();
    }