Interface DaemonRunnable

All Superinterfaces:
Runnable
All Known Subinterfaces:
NNTPDaemonRunnable
All Known Implementing Classes:
Connections, DaemonRunner, MailPoller, PlatformThreadedNNTPDaemon, Purger, VirtualThreadedNNTPDaemon

public interface DaemonRunnable extends Runnable
Author:
Christian Lins
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called by the DaemonThread when requestShutdown() was called.
    void
    Called by the DaemonThread running this Runnable upon start.

    Methods inherited from interface java.lang.Runnable

    run
  • Method Details

    • dispose

      default void dispose()
      Called by the DaemonThread when requestShutdown() was called.
    • setDaemon

      void setDaemon(DaemonThread daemon)
      Called by the DaemonThread running this Runnable upon start.
      Parameters:
      daemon -