Scala Library
|
|
abstract
class
TerminationService(terminate : Boolean)
extends
java.lang.Thread with
IScheduler with
TerminationMonitorTerminationService
class starts a new thread
that is used to check regularly if the scheduler can be
shut down, because all started actors are known to
have terminated.Value Summary | |
protected val
|
CHECK_FREQ : Int |
Values and Variables inherited from TerminationMonitor | |
activeActors, terminationHandlers |
Method Summary | |
abstract def
|
onShutdown : Unit |
override def
|
run : Unit |
def
|
shutdown
: Unit
Shuts down the scheduler.
|
Methods inherited from TerminationMonitor | |
newActor, onTerminate, terminated, allTerminated, gc |
Methods inherited from IScheduler | |
execute (abstract), execute (abstract), isActive (abstract), managedBlock (abstract), executeFromActor, tick, onLockup, onLockup, printActorDump |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
abstract
def
onShutdown : Unit
override
def
run : Unit
def
shutdown : Unit
Scala Library
|
|