Scala Library
|
|
trait
ExecutorScheduler
extends
IScheduler with
ThreadPoolRunner[Unit]ExecutorScheduler
class uses an
ExecutorService
to execute Actor
s.Method Summary | |
def
|
isActive
: Boolean
The scheduler is active if the underlying
ExecutorService
has not been shut down. |
def
|
onShutdown
: Unit
This method is called when the scheduler shuts down.
|
Methods inherited from ThreadPoolRunner | |
executor (abstract), submit, execute, managedBlock |
Methods inherited from TaskRunner | |
shutdown (abstract), !!, tryCatch |
Methods inherited from IScheduler | |
execute (abstract), newActor (abstract), terminated (abstract), onTerminate (abstract), executeFromActor |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
onShutdown : Unit
def
isActive : Boolean
ExecutorService
has not been shut down.
Scala Library
|
|