Interface ThreadPool.InterruptableTask

All Superinterfaces:
ThreadPool.Task
All Known Implementing Classes:
Connection, ServletConnection
Enclosing class:
ThreadPool

public static interface ThreadPool.InterruptableTask extends ThreadPool.Task
A task, which may be interrupted, if the pool is shutting down.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Interrupts the task.

    Methods inherited from interface org.apache.xmlrpc.util.ThreadPool.Task

    run
  • Method Details

    • shutdown

      void shutdown() throws Throwable
      Interrupts the task.
      Throws:
      Throwable - Shutting down the task failed.