Packages

final class TaskRunner extends TaskRunnerNonPriority

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TaskRunner
  2. TaskRunnerNonPriority
  3. TaskRunnerBase
  4. Logging
  5. Closeable
  6. AutoCloseable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TaskRunner(name: String, coreThreads: Int, maxThreads: Int, queueSize: Int, blockOnFullQueue: Boolean = true)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def abort(maxWaitSeconds: Int = 5): Unit

    Perform an unclean shutdown of the executor only waiting up to maxWaitSeconds

    Perform an unclean shutdown of the executor only waiting up to maxWaitSeconds

    Definition Classes
    TaskRunnerBase
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val blockOnFullQueue: Boolean
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def close(): Unit
    Definition Classes
    TaskRunnerBase → Closeable → AutoCloseable
  9. val coreThreads: Int
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def execute(f: => Unit): Unit
    Definition Classes
    TaskRunnerNonPriority
  13. val executor: ThreadPoolExecutor
    Attributes
    protected
    Definition Classes
    TaskRunnerTaskRunnerBase
  14. def finalize(): Unit
    Definition Classes
    TaskRunnerBase → AnyRef
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @transient()
  19. val maxThreads: Int
  20. val name: String
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val queueSize: Int
  25. final def scoped(f: (TaskRunner.this.type) => Unit): Unit
    Definition Classes
    TaskRunnerBase
  26. final def shutdown(silent: Boolean = false, warnIntervalSeconds: Int = 30): Unit

    Perform a "clean" shutdown of the executor by waiting for all tasks to finish

    Perform a "clean" shutdown of the executor by waiting for all tasks to finish

    Definition Classes
    TaskRunnerBase
  27. lazy val shutdownWarning: Boolean
    Attributes
    protected
    Definition Classes
    TaskRunnerBase
  28. final def size: Int
    Definition Classes
    TaskRunnerBase
  29. final def submit[T](f: => T): Future[T]
    Definition Classes
    TaskRunnerNonPriority
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def tryExecute(f: => Unit): Boolean

    Attempt to submit this job to the queue.

    Attempt to submit this job to the queue. Returns true if successful or false if the queue is full

    Definition Classes
    TaskRunnerNonPriority
  33. final def trySubmit[T](f: => T): Option[Future[T]]

    Attempt to submit this job to the queue.

    Attempt to submit this job to the queue. Returns Some(...) if successful or None if the queue is full

    Definition Classes
    TaskRunnerNonPriority
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Inherited from TaskRunnerNonPriority

Inherited from TaskRunnerBase

Inherited from Logging

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped