Interface TaskPool.Submitter

All Known Implementing Classes:
CloseableTaskPoolSubmitter
Enclosing class:
TaskPool

public static interface TaskPool.Submitter
Interface to whatever lets us submit tasks.
  • Method Summary

    Modifier and Type
    Method
    Description
    Submit work.
  • Method Details

    • submit

      Future<?> submit(Runnable task)
      Submit work.
      Parameters:
      task - task to execute
      Returns:
      the future of the submitted task.