public abstract class AbstractTrackingApproach extends java.lang.Object implements TrackingApproach
| Constructor and Description |
|---|
AbstractTrackingApproach(org.dataloader.DataLoaderRegistry dataLoaderRegistry) |
| 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.
|
void |
dispatch()
Dispatch dataloaders and clean up state.
|
protected RequestStack |
getStack() |
void |
removeTracking(graphql.execution.ExecutionId executionId)
Removes tracking state for an execution.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateStatepublic AbstractTrackingApproach(org.dataloader.DataLoaderRegistry dataLoaderRegistry)
protected RequestStack getStack()
public graphql.execution.instrumentation.ExecutionStrategyInstrumentationContext beginExecutionStrategy(graphql.execution.instrumentation.parameters.InstrumentationExecutionStrategyParameters parameters)
TrackingApproachbeginExecutionStrategy in interface TrackingApproachparameters - parameters supplied to DataLoaderDispatcherInstrumentationpublic graphql.execution.instrumentation.DeferredFieldInstrumentationContext beginDeferredField(graphql.execution.instrumentation.parameters.InstrumentationDeferredFieldParameters parameters)
TrackingApproachbeginDeferredField in interface TrackingApproachparameters - parameters supplied to DataLoaderDispatcherInstrumentationpublic graphql.execution.instrumentation.InstrumentationContext<java.lang.Object> beginFieldFetch(graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters parameters)
TrackingApproachbeginFieldFetch in interface TrackingApproachparameters - parameters supplied to DataLoaderDispatcherInstrumentationpublic void removeTracking(graphql.execution.ExecutionId executionId)
TrackingApproachremoveTracking in interface TrackingApproachexecutionId - the execution to remove state forpublic void dispatch()
TrackingApproachdispatch in interface TrackingApproach