TaskPool.Submitter (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.util.functional, class: TaskPool, interface: Submitter

Package org.apache.hadoop.util.functional

# 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
  `Future<?>`
  `submit(Runnable task)`
  Submit work.

- ## Method Details

  - ### submit

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