presto-main/src/main/java/io/prestosql/operator/WorkProcessor.java/WorkProcessor/withProcessStateMonitor
class WorkProcessor:    default WorkProcessor<T> withProcessStateMonitor(Consumer<ProcessState<T>> monitor)
    {
        return WorkProcessorUtils.processStateMonitor(this, monitor);
    }