maker.task.Build

PriorityExecutor

class PriorityExecutor extends ThreadPoolExecutor

Executor that can take a priority value (lower is higher priority) along with a closure which is used when assigning work to Threads. Tasks without a priority value will be treated as low priority.

Note that once a task has been accepted, it will not be stopped, so a low priority task that has been accepted will continue to run even if high priority tasks are subsequently submitted.

Linear Supertypes
ThreadPoolExecutor, AbstractExecutorService, ExecutorService, Executor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PriorityExecutor
  2. ThreadPoolExecutor
  3. AbstractExecutorService
  4. ExecutorService
  5. Executor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def afterExecute(arg0: Runnable, arg1: Throwable): Unit

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    ThreadPoolExecutor
  7. def allowCoreThreadTimeOut(arg0: Boolean): Unit

    Definition Classes
    ThreadPoolExecutor
  8. def allowsCoreThreadTimeOut(): Boolean

    Definition Classes
    ThreadPoolExecutor
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def awaitTermination(arg0: Long, arg1: TimeUnit): Boolean

    Definition Classes
    ThreadPoolExecutor → ExecutorService
    Annotations
    @throws( ... )
  11. def beforeExecute(arg0: Thread, arg1: Runnable): Unit

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    ThreadPoolExecutor
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def execute(arg0: Runnable): Unit

    Definition Classes
    ThreadPoolExecutor → Executor
  16. def executeWithPriority(priority: Int)(f: ⇒ Unit): Unit

  17. def finalize(): Unit

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    ThreadPoolExecutor → AnyRef
  18. def getActiveCount(): Int

    Definition Classes
    ThreadPoolExecutor
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def getCompletedTaskCount(): Long

    Definition Classes
    ThreadPoolExecutor
  21. def getCorePoolSize(): Int

    Definition Classes
    ThreadPoolExecutor
  22. def getKeepAliveTime(arg0: TimeUnit): Long

    Definition Classes
    ThreadPoolExecutor
  23. def getLargestPoolSize(): Int

    Definition Classes
    ThreadPoolExecutor
  24. def getMaximumPoolSize(): Int

    Definition Classes
    ThreadPoolExecutor
  25. def getPoolSize(): Int

    Definition Classes
    ThreadPoolExecutor
  26. def getQueue(): BlockingQueue[Runnable]

    Definition Classes
    ThreadPoolExecutor
  27. def getRejectedExecutionHandler(): RejectedExecutionHandler

    Definition Classes
    ThreadPoolExecutor
  28. def getTaskCount(): Long

    Definition Classes
    ThreadPoolExecutor
  29. def getThreadFactory(): ThreadFactory

    Definition Classes
    ThreadPoolExecutor
  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. def invokeAll[T](arg0: Collection[_ <: Callable[T]], arg1: Long, arg2: TimeUnit): List[Future[T]]

    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... )
  32. def invokeAll[T](arg0: Collection[_ <: Callable[T]]): List[Future[T]]

    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... )
  33. def invokeAny[T](arg0: Collection[_ <: Callable[T]], arg1: Long, arg2: TimeUnit): T

    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... ) @throws( ... ) @throws( ... )
  34. def invokeAny[T](arg0: Collection[_ <: Callable[T]]): T

    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... ) @throws( ... )
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. def isShutdown(): Boolean

    Definition Classes
    ThreadPoolExecutor → ExecutorService
  37. def isTerminated(): Boolean

    Definition Classes
    ThreadPoolExecutor → ExecutorService
  38. def isTerminating(): Boolean

    Definition Classes
    ThreadPoolExecutor
  39. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. def newTaskFor[T](arg0: Callable[T]): RunnableFuture[T]

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    AbstractExecutorService
  41. def newTaskFor[T](arg0: Runnable, arg1: T): RunnableFuture[T]

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    AbstractExecutorService
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  44. def prestartAllCoreThreads(): Int

    Definition Classes
    ThreadPoolExecutor
  45. def prestartCoreThread(): Boolean

    Definition Classes
    ThreadPoolExecutor
  46. def purge(): Unit

    Definition Classes
    ThreadPoolExecutor
  47. def remove(arg0: Runnable): Boolean

    Definition Classes
    ThreadPoolExecutor
  48. def setCorePoolSize(arg0: Int): Unit

    Definition Classes
    ThreadPoolExecutor
  49. def setKeepAliveTime(arg0: Long, arg1: TimeUnit): Unit

    Definition Classes
    ThreadPoolExecutor
  50. def setMaximumPoolSize(arg0: Int): Unit

    Definition Classes
    ThreadPoolExecutor
  51. def setRejectedExecutionHandler(arg0: RejectedExecutionHandler): Unit

    Definition Classes
    ThreadPoolExecutor
  52. def setThreadFactory(arg0: ThreadFactory): Unit

    Definition Classes
    ThreadPoolExecutor
  53. def shutdown(): Unit

    Definition Classes
    ThreadPoolExecutor → ExecutorService
  54. def shutdownNow(): List[Runnable]

    Definition Classes
    ThreadPoolExecutor → ExecutorService
  55. def submit[T](arg0: Callable[T]): Future[T]

    Definition Classes
    AbstractExecutorService → ExecutorService
  56. def submit[T](arg0: Runnable, arg1: T): Future[T]

    Definition Classes
    AbstractExecutorService → ExecutorService
  57. def submit(arg0: Runnable): Future[_]

    Definition Classes
    AbstractExecutorService → ExecutorService
  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  59. def terminated(): Unit

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    ThreadPoolExecutor
  60. def toString(): String

    Definition Classes
    ThreadPoolExecutor → AnyRef → Any
  61. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ThreadPoolExecutor

Inherited from AbstractExecutorService

Inherited from ExecutorService

Inherited from Executor

Inherited from AnyRef

Inherited from Any

Ungrouped