org.megam.concurrent

BridgedThreadPoolScheduler

class BridgedThreadPoolScheduler extends Scheduler with ExecutorScheduler

A scheduler that bridges tasks submitted by external threads into local executor threads. All tasks submitted locally are executed on local threads.

Note: This scheduler expects to create executors with unbounded capacity. Thus it does not expect and has undefined behavior for any RejectedExecutionExceptions other than those encountered after executor shutdown.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BridgedThreadPoolScheduler
  2. ExecutorScheduler
  3. Scheduler
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BridgedThreadPoolScheduler(name: String)

  2. new BridgedThreadPoolScheduler(name: String, executorFactory: (ThreadFactory) ⇒ ExecutorService)

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val bean: ThreadMXBean

    Attributes
    protected[this]
    Definition Classes
    ExecutorScheduler
  8. def blocking[T](f: ⇒ T)(implicit perm: CanAwait): T

    Definition Classes
    ExecutorScheduler
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def cpuTime: Long

    Definition Classes
    ExecutorScheduler
  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. val executor: ExecutorService

    Attributes
    protected[this]
    Definition Classes
    ExecutorScheduler
  14. val executorFactory: (ThreadFactory) ⇒ ExecutorService

  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def flush(): Unit

    Flush the schedule.

    Flush the schedule. Returns when there is no more work to do.

    Definition Classes
    BridgedThreadPoolSchedulerExecutorSchedulerScheduler
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def getExecutor: ExecutorService

    Definition Classes
    ExecutorScheduler
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. val name: String

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

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

    Definition Classes
    AnyRef
  25. def numDispatches: Long

    Definition Classes
    ExecutorScheduler
  26. def shutdown(): Unit

    Definition Classes
    ExecutorScheduler
  27. def submit(r: Runnable): Unit

    Schedule r to be run at some time in the future.

    Schedule r to be run at some time in the future.

    Definition Classes
    BridgedThreadPoolSchedulerExecutorSchedulerScheduler
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. val threadFactory: ThreadFactory

    Attributes
    protected
    Definition Classes
    ExecutorScheduler
  30. val threadGroup: ThreadGroup

    Attributes
    protected
    Definition Classes
    ExecutorScheduler
  31. def threads(): Array[Thread]

    Attributes
    protected
    Definition Classes
    ExecutorScheduler
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def usrTime: Long

    Definition Classes
    ExecutorScheduler
  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def wallTime: Long

    Definition Classes
    ExecutorScheduler

Inherited from ExecutorScheduler

Inherited from Scheduler

Inherited from AnyRef

Inherited from Any

Ungrouped