Class DataLoaderDispatcherInstrumentationOptions

java.lang.Object
graphql.execution.instrumentation.dataloader.DataLoaderDispatcherInstrumentationOptions

@PublicApi public class DataLoaderDispatcherInstrumentationOptions extends Object
The options that control the operation of DataLoaderDispatcherInstrumentation
  • Method Details

    • 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()