Class PushDispatchRecorder

java.lang.Object
com.vaadin.quarkus.push.PushDispatchRecorder

public class PushDispatchRecorder extends Object
PushDispatchRecorder is responsible for logging information about the dispatch behavior of Vaadin Push websocket frames in the context of the Quarkus framework. The logging provides clarity on how websocket frames are dispatched with respect to the Vert.x event loop and the worker thread pool.

By default, websocket frames are dispatched on the worker thread pool (`quarkus.websocket.dispatch-to-worker=true`) to ensure the Vert.x event loop remains free. This is particularly important when application code blocks while holding the Vaadin session lock, such as in `BeforeEnterObserver` or `AfterNavigationListener` implementations.

The provided logging documentation offers insights into the behavior and implications of changing the dispatch behavior by altering the relevant Quarkus configuration property.

  • Constructor Details

    • PushDispatchRecorder

      public PushDispatchRecorder()
  • Method Details

    • logDispatchOnWorker

      public void logDispatchOnWorker()