Class ExecutorInstrumentation.Builder

  • Enclosing class:
    ExecutorInstrumentation

    public static class ExecutorInstrumentation.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • actionObserver

        public ExecutorInstrumentation.Builder actionObserver​(java.util.function.Consumer<graphql.execution.instrumentation.threadpools.ExecutorInstrumentation.Action> actionObserver)
        This is really intended for testing but this consumer will be called during stages to indicate what is happening.
        Parameters:
        actionObserver - the observer code
        Returns:
        this builder