Class DataLoaderDispatcherInstrumentationOptions
java.lang.Object
graphql.execution.instrumentation.dataloader.DataLoaderDispatcherInstrumentationOptions
The options that control the operation of
DataLoaderDispatcherInstrumentation-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDataLoaderDispatcherInstrumentationOptions(boolean includeStatistics) -
Method Summary
Modifier and TypeMethodDescriptionincludeStatistics(boolean flag) This will toggle the ability to include java-dataloader statistics into the extensions output of your queryboolean
-
Field Details
-
includeStatistics
private final boolean includeStatistics
-
-
Constructor Details
-
DataLoaderDispatcherInstrumentationOptions
private DataLoaderDispatcherInstrumentationOptions(boolean includeStatistics)
-
-
Method Details
-
newOptions
-
includeStatistics
This will toggle the ability to include java-dataloader statistics into the extensions output of your query- Parameters:
flag- the switch to follow- Returns:
- a new options object
-
isIncludeStatistics
public boolean isIncludeStatistics()
-