Interface TaskExecutor

All Superinterfaces:
Executor

@NonExtendable public interface TaskExecutor extends Executor
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Check for the number of threads this executor uses.

    Methods inherited from interface java.util.concurrent.Executor

    execute
  • Method Details

    • threadCount

      int threadCount()
      Check for the number of threads this executor uses.
      May be helpful when determining how many chunks to divide a task into.
      Returns:
      The number of threads this executor uses.