Class DatabaseEventWatcherThread

  • All Implemented Interfaces:
    Runnable

    public final class DatabaseEventWatcherThread
    extends Thread
    • Constructor Detail

      • DatabaseEventWatcherThread

        public DatabaseEventWatcherThread​(WebSocketEventBus eventBus,
                                          Database database,
                                          int queueSize)
    • Method Detail

      • shutdown

        public void shutdown()
        Sends the shutdown signal to the thread and waits for termination.
      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread