Class DataLoaderDispatcherInstrumentationOptions
- java.lang.Object
-
- graphql.execution.instrumentation.dataloader.DataLoaderDispatcherInstrumentationOptions
-
@PublicApi public class DataLoaderDispatcherInstrumentationOptions extends java.lang.Object
The options that control the operation ofDataLoaderDispatcherInstrumentation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLoaderDispatcherInstrumentationOptionsincludeStatistics(boolean flag)This will toggle the ability to include java-dataloader statistics into the extensions output of your querybooleanisIncludeStatistics()static DataLoaderDispatcherInstrumentationOptionsnewOptions()
-
-
-
Method Detail
-
newOptions
public static DataLoaderDispatcherInstrumentationOptions newOptions()
-
includeStatistics
public DataLoaderDispatcherInstrumentationOptions includeStatistics(boolean flag)
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()
-
-