Interface TaskPool.Task<I,E extends Exception>

Type Parameters:
I - item type being processed
E - exception class which may be raised
Enclosing class:
TaskPool
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TaskPool.Task<I,E extends Exception>
Callback invoked to process an item.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(I item)
     
  • Method Details

    • run

      void run(I item) throws E
      Throws:
      E extends Exception