Interface EngineRunningObserver


@ExperimentalApi @NullMarked public interface EngineRunningObserver
This class lets you observe the running state of the graphql-java engine. As it processes and dispatches graphql fields, the engine moves in and out of a running and not running state. As it does this, the callback is called with information telling you the current state.
  • Field Details

  • Method Details

    • runningStateChanged

      void runningStateChanged(ExecutionId executionId, GraphQLContext graphQLContext, EngineRunningObserver.RunningState runningState)
      This will be called when the running state of the graphql-java engine changes.
      Parameters:
      executionId - the id of the current execution
      graphQLContext - the graphql context