Interface ThreadPool.Task

All Known Subinterfaces:
ThreadPool.InterruptableTask
All Known Implementing Classes:
Connection, ServletConnection
Enclosing class:
ThreadPool

public static interface ThreadPool.Task
The thread pool contains instances of ThreadPool.Task.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Performs the task.
  • Method Details

    • run

      void run() throws Throwable
      Performs the task.
      Throws:
      Throwable - The task failed, and the worker thread won't be used again.