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
-
executeDeferredOnFieldValueInfo
public void executeDeferredOnFieldValueInfo(FieldValueInfo fieldValueInfo, ExecutionStrategyParameters executionStrategyParameters)
- Specified by:
executeDeferredOnFieldValueInfoin interfaceDataLoaderDispatchStrategy
-
executionStrategy
public void executionStrategy(ExecutionContext executionContext, ExecutionStrategyParameters parameters)
- Specified by:
executionStrategyin interfaceDataLoaderDispatchStrategy
-
executionStrategyOnFieldValuesInfo
public void executionStrategyOnFieldValuesInfo(java.util.List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters)
- Specified by:
executionStrategyOnFieldValuesInfoin interfaceDataLoaderDispatchStrategy
-
executionStrategyOnFieldValuesException
public void executionStrategyOnFieldValuesException(java.lang.Throwable t, ExecutionStrategyParameters executionStrategyParameters)- Specified by:
executionStrategyOnFieldValuesExceptionin interfaceDataLoaderDispatchStrategy
-
executeObject
public void executeObject(ExecutionContext executionContext, ExecutionStrategyParameters parameters)
- Specified by:
executeObjectin interfaceDataLoaderDispatchStrategy
-
executeObjectOnFieldValuesInfo
public void executeObjectOnFieldValuesInfo(java.util.List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters)
- Specified by:
executeObjectOnFieldValuesInfoin interfaceDataLoaderDispatchStrategy
-
executeObjectOnFieldValuesException
public void executeObjectOnFieldValuesException(java.lang.Throwable t, ExecutionStrategyParameters parameters)- Specified by:
executeObjectOnFieldValuesExceptionin interfaceDataLoaderDispatchStrategy
-
fieldFetched
public void fieldFetched(ExecutionContext executionContext, ExecutionStrategyParameters executionStrategyParameters, DataFetcher<?> dataFetcher, java.lang.Object fetchedValue)
- Specified by:
fieldFetchedin interfaceDataLoaderDispatchStrategy
-
-