Class ChainedInstrumentation.ChainedExecutionStrategyInstrumentationContext
java.lang.Object
graphql.execution.instrumentation.ChainedInstrumentation.ChainedExecutionStrategyInstrumentationContext
- All Implemented Interfaces:
ExecutionStrategyInstrumentationContext,InstrumentationContext<ExecutionResult>
- Enclosing class:
ChainedInstrumentation
private static class ChainedInstrumentation.ChainedExecutionStrategyInstrumentationContext
extends Object
implements ExecutionStrategyInstrumentationContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList<ExecutionStrategyInstrumentationContext> Fields inherited from interface graphql.execution.instrumentation.ExecutionStrategyInstrumentationContext
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionChainedExecutionStrategyInstrumentationContext(com.google.common.collect.ImmutableList<ExecutionStrategyInstrumentationContext> contexts) -
Method Summary
Modifier and TypeMethodDescriptionvoidonCompleted(ExecutionResult result, Throwable t) This is invoked when the instrumentation step is fully completedvoidonDispatched(CompletableFuture<ExecutionResult> result) This is invoked when the instrumentation step is initially dispatchedvoidvoidonFieldValuesInfo(List<FieldValueInfo> fieldValueInfoList)
-
Field Details
-
contexts
private final com.google.common.collect.ImmutableList<ExecutionStrategyInstrumentationContext> contexts
-
-
Constructor Details
-
ChainedExecutionStrategyInstrumentationContext
ChainedExecutionStrategyInstrumentationContext(com.google.common.collect.ImmutableList<ExecutionStrategyInstrumentationContext> contexts)
-
-
Method Details
-
onDispatched
Description copied from interface:InstrumentationContextThis is invoked when the instrumentation step is initially dispatched- Specified by:
onDispatchedin interfaceInstrumentationContext<ExecutionResult>- Parameters:
result- the result of the step as a completable future
-
onCompleted
Description copied from interface:InstrumentationContextThis is invoked when the instrumentation step is fully completed- Specified by:
onCompletedin interfaceInstrumentationContext<ExecutionResult>- Parameters:
result- the result of the step (which may be null)t- this exception will be non null if an exception was thrown during the step
-
onFieldValuesInfo
- Specified by:
onFieldValuesInfoin interfaceExecutionStrategyInstrumentationContext
-
onFieldValuesException
public void onFieldValuesException()- Specified by:
onFieldValuesExceptionin interfaceExecutionStrategyInstrumentationContext
-