presto-main/src/main/java/io/prestosql/execution/FutureStateChange.java/FutureStateChange/complete
class FutureStateChange:    public void complete(T newState)
    {
        fireStateChange(newState, directExecutor());
    }