public interface TrackingApproach
extends graphql.execution.instrumentation.InstrumentationState
| Modifier and Type | Method and Description |
|---|---|
graphql.execution.instrumentation.DeferredFieldInstrumentationContext |
beginDeferredField(graphql.execution.instrumentation.parameters.InstrumentationDeferredFieldParameters parameters)
Handles approach specific logic for DataLoaderDispatcherInstrumentation.
|
graphql.execution.instrumentation.ExecutionStrategyInstrumentationContext |
beginExecutionStrategy(graphql.execution.instrumentation.parameters.InstrumentationExecutionStrategyParameters parameters)
Handles approach specific logic for DataLoaderDispatcherInstrumentation.
|
graphql.execution.instrumentation.InstrumentationContext<java.lang.Object> |
beginFieldFetch(graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters parameters)
Handles approach specific logic for DataLoaderDispatcherInstrumentation.
|
graphql.execution.instrumentation.InstrumentationState |
createState(graphql.execution.ExecutionId executionId)
Handles creating any state for DataLoaderDispatcherInstrumentation
|
void |
dispatch()
Dispatch dataloaders and clean up state.
|
void |
removeTracking(graphql.execution.ExecutionId executionId)
Removes tracking state for an execution.
|
graphql.execution.instrumentation.InstrumentationState createState(graphql.execution.ExecutionId executionId)
executionId - the execution to create state for.void dispatch()
graphql.execution.instrumentation.ExecutionStrategyInstrumentationContext beginExecutionStrategy(graphql.execution.instrumentation.parameters.InstrumentationExecutionStrategyParameters parameters)
parameters - parameters supplied to DataLoaderDispatcherInstrumentationgraphql.execution.instrumentation.DeferredFieldInstrumentationContext beginDeferredField(graphql.execution.instrumentation.parameters.InstrumentationDeferredFieldParameters parameters)
parameters - parameters supplied to DataLoaderDispatcherInstrumentationgraphql.execution.instrumentation.InstrumentationContext<java.lang.Object> beginFieldFetch(graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters parameters)
parameters - parameters supplied to DataLoaderDispatcherInstrumentationvoid removeTracking(graphql.execution.ExecutionId executionId)
executionId - the execution to remove state for