Interface DelayedDataLoaderDispatcherExecutorFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@ExperimentalApi
@NullMarked
@FunctionalInterface
public interface DelayedDataLoaderDispatcherExecutorFactory
See
DataLoaderDispatchingContextKeys
for how to set it.-
Method Summary
Modifier and TypeMethodDescriptioncreateExecutor
(ExecutionId executionId, GraphQLContext graphQLContext) Called once per execution to create theScheduledExecutorService
for the delayed DataLoader dispatching.
-
Method Details
-
createExecutor
Called once per execution to create theScheduledExecutorService
for the delayed DataLoader dispatching. Will only called if needed, i.e. if there are delayed DataLoaders.- Parameters:
executionId
-graphQLContext
-- Returns:
-