Class DataLoaderDispatcherInstrumentationOptions

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

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

    • includeStatistics

      private final boolean includeStatistics
  • Constructor Details

    • DataLoaderDispatcherInstrumentationOptions

      private DataLoaderDispatcherInstrumentationOptions(boolean includeStatistics)
  • 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()