Interface ExecutionStrategyInstrumentationContext
- All Superinterfaces:
InstrumentationContext<ExecutionResult>
@PublicSpi
public interface ExecutionStrategyInstrumentationContext
extends InstrumentationContext<ExecutionResult>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ExecutionStrategyInstrumentationContext
nonNullCtx
(ExecutionStrategyInstrumentationContext nullableContext) This creates a no-opInstrumentationContext
if the one pass in is nulldefault void
default void
onFieldValuesInfo
(List<FieldValueInfo> fieldValueInfoList) Methods inherited from interface graphql.execution.instrumentation.InstrumentationContext
onCompleted, onDispatched
-
Field Details
-
NOOP
-
-
Method Details
-
onFieldValuesInfo
-
onFieldValuesException
default void onFieldValuesException() -
nonNullCtx
static @NonNull ExecutionStrategyInstrumentationContext nonNullCtx(ExecutionStrategyInstrumentationContext nullableContext) This creates a no-opInstrumentationContext
if the one pass in is null- Parameters:
nullableContext
- aInstrumentationContext
that can be null- Returns:
- a non null
InstrumentationContext
that maybe a no-op
-