Class PerLevelDataLoaderDispatchStrategy
- java.lang.Object
-
- graphql.execution.instrumentation.dataloader.PerLevelDataLoaderDispatchStrategy
-
- All Implemented Interfaces:
DataLoaderDispatchStrategy
public class PerLevelDataLoaderDispatchStrategy extends java.lang.Object implements DataLoaderDispatchStrategy
-
-
Field Summary
-
Fields inherited from interface graphql.execution.DataLoaderDispatchStrategy
NO_OP
-
-
Constructor Summary
Constructors Constructor Description PerLevelDataLoaderDispatchStrategy(ExecutionContext executionContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface graphql.execution.DataLoaderDispatchStrategy
modifyDataFetcher
-
-
-
-
Constructor Detail
-
PerLevelDataLoaderDispatchStrategy
public PerLevelDataLoaderDispatchStrategy(ExecutionContext executionContext)
-
-
Method Detail
-
deferredField
public void deferredField(ExecutionContext executionContext, MergedField currentField)
- Specified by:
deferredField
in interfaceDataLoaderDispatchStrategy
-
executionStrategy
public void executionStrategy(ExecutionContext executionContext, ExecutionStrategyParameters parameters)
- Specified by:
executionStrategy
in interfaceDataLoaderDispatchStrategy
-
executionStrategyOnFieldValuesInfo
public void executionStrategyOnFieldValuesInfo(java.util.List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters)
- Specified by:
executionStrategyOnFieldValuesInfo
in interfaceDataLoaderDispatchStrategy
-
executionStrategyOnFieldValuesException
public void executionStrategyOnFieldValuesException(java.lang.Throwable t, ExecutionStrategyParameters executionStrategyParameters)
- Specified by:
executionStrategyOnFieldValuesException
in interfaceDataLoaderDispatchStrategy
-
executeObject
public void executeObject(ExecutionContext executionContext, ExecutionStrategyParameters parameters)
- Specified by:
executeObject
in interfaceDataLoaderDispatchStrategy
-
executeObjectOnFieldValuesInfo
public void executeObjectOnFieldValuesInfo(java.util.List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters)
- Specified by:
executeObjectOnFieldValuesInfo
in interfaceDataLoaderDispatchStrategy
-
executeObjectOnFieldValuesException
public void executeObjectOnFieldValuesException(java.lang.Throwable t, ExecutionStrategyParameters parameters)
- Specified by:
executeObjectOnFieldValuesException
in interfaceDataLoaderDispatchStrategy
-
fieldFetched
public void fieldFetched(ExecutionContext executionContext, ExecutionStrategyParameters executionStrategyParameters, DataFetcher<?> dataFetcher, java.lang.Object fetchedValue)
- Specified by:
fieldFetched
in interfaceDataLoaderDispatchStrategy
-
-