presto-main/src/main/java/io/prestosql/execution/buffer/PartitionedOutputBuffer.java/PartitionedOutputBuffer/addStateChangeListener
class PartitionedOutputBuffer:    @Override
    public void addStateChangeListener(StateChangeListener<BufferState> stateChangeListener)
    {
        state.addStateChangeListener(stateChangeListener);
    }