Module org.snmp4j

Interface WorkerTask

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void interrupt()
      Interrupts this task.
      void join()
      Waits until this task has been finished.
      void terminate()
      The WorkerPool might call this method to hint the active WorkTask instance to complete execution as soon as possible.
      • Methods inherited from interface java.lang.Runnable

        run
    • Method Detail

      • terminate

        void terminate()
        The WorkerPool might call this method to hint the active WorkTask instance to complete execution as soon as possible.
      • join

        void join()
           throws java.lang.InterruptedException
        Waits until this task has been finished.
        Throws:
        java.lang.InterruptedException - if the join has been interrupted by another thread.
      • interrupt

        void interrupt()
        Interrupts this task.
        See Also:
        Thread.interrupt()