Package graphql.execution.instrumentation
-
Interface Summary Interface Description ExecuteObjectInstrumentationContext ExecutionStrategyInstrumentationContext FieldFetchingInstrumentationContext FieldFetchingInstrumentationContext is returned back from theInstrumentation.beginFieldFetching(InstrumentationFieldFetchParameters, InstrumentationState)method, and it's much like the normalInstrumentationContexttype except it also gives the value that was returned by a fieldsDataFetcher.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 AnInstrumentationimplementation 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 ofInstrumentationimplementations and run them in sequence.DocumentAndVariables DocumentAndVariables.Builder NoContextChainedInstrumentation This version ofChainedInstrumentationwill call a list ofInstrumentations but it will never back on the returnedInstrumentationContextobjects, hence it is only suitable to certain use cases.SimpleInstrumentation Deprecated. useSimplePerformantInstrumentationinstead as a base class.SimpleInstrumentationContext<T> A simple implementation ofInstrumentationContextSimplePerformantInstrumentation An implementation ofInstrumentationthat does nothing.