Package graphql.execution.instrumentation
-
Interface Summary Interface Description ExecuteObjectInstrumentationContext ExecutionStrategyInstrumentationContext FieldFetchingInstrumentationContext Instrumentation Provides the capability to instrument the execution steps of a GraphQL query.InstrumentationContext<T> When aInstrumentation
.'beginXXX()' method is called then it must return a non null InstrumentationContext that will be invoked when the step is first dispatched and then when it completes.InstrumentationState AnInstrumentation
implementation can create this as a stateful object that is then passed to each instrumentation method, allowing state to be passed down with the request execution -
Class Summary Class Description ChainedInstrumentation This allows you to chain together a number ofInstrumentation
implementations and run them in sequence.DocumentAndVariables DocumentAndVariables.Builder NoContextChainedInstrumentation This version ofChainedInstrumentation
will call a list ofInstrumentation
s but it will never back on the returnedInstrumentationContext
objects, hence it is only suitable to certain use cases.SimpleInstrumentation Deprecated. useSimplePerformantInstrumentation
instead as a base class.SimpleInstrumentationContext<T> A simple implementation ofInstrumentationContext
SimplePerformantInstrumentation An implementation ofInstrumentation
that does nothing.