Class FallbackDataLoaderDispatchStrategy
- java.lang.Object
-
- graphql.execution.instrumentation.dataloader.FallbackDataLoaderDispatchStrategy
-
- All Implemented Interfaces:
DataLoaderDispatchStrategy
public class FallbackDataLoaderDispatchStrategy extends java.lang.Object implements DataLoaderDispatchStrategy
Used when we cant guarantee the fields will be counted right: simply dispatch always after each DF.
-
-
Field Summary
-
Fields inherited from interface graphql.execution.DataLoaderDispatchStrategy
NO_OP
-
-
Constructor Summary
Constructors Constructor Description FallbackDataLoaderDispatchStrategy(ExecutionContext executionContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataFetcher<?>
modifyDataFetcher(DataFetcher<?> dataFetcher)
-
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
executeDeferredOnFieldValueInfo, executeObject, executeObjectOnFieldValuesException, executeObjectOnFieldValuesInfo, executionSerialStrategy, executionStrategy, executionStrategyOnFieldValuesException, executionStrategyOnFieldValuesInfo, fieldFetched
-
-
-
-
Constructor Detail
-
FallbackDataLoaderDispatchStrategy
public FallbackDataLoaderDispatchStrategy(ExecutionContext executionContext)
-
-
Method Detail
-
modifyDataFetcher
public DataFetcher<?> modifyDataFetcher(DataFetcher<?> dataFetcher)
- Specified by:
modifyDataFetcher
in interfaceDataLoaderDispatchStrategy
-
-