Scala Library
|
|
scala/actors/Scheduler.scala
]
object
Scheduler
extends
ISchedulerScheduler
object is used by
Actor
to execute tasks of an execution of an actor.Values and Variables inherited from IScheduler | |
QUIT_TASK |
Method Summary | |
def
|
execute
(fun : => Unit) : Unit
Submits a closure for execution.
|
def
|
execute
(task : java.lang.Runnable) : Unit
Submits a
Runnable for execution. |
def
|
impl : IScheduler |
def
|
impl_= (scheduler : IScheduler) : Unit |
def
|
makeNewScheduler : IScheduler |
def
|
onLockup (handler : () => Unit) : Unit |
def
|
onLockup (millis : Int)(handler : () => Unit) : Unit |
def
|
printActorDump : Unit |
def
|
restart : Unit |
def
|
shutdown
: Unit
Shuts down the scheduler.
|
def
|
snapshot : Unit |
def
|
tick
(a : Actor) : Unit
Notifies the scheduler about activity of the
executing actor.
|
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
makeNewScheduler : IScheduler
def
impl : IScheduler
def
impl_=(scheduler : IScheduler) : Unit
def
snapshot : Unit
def
restart : Unit
def
execute(task : java.lang.Runnable) : Unit
Runnable
for execution.task -
the task to be executedfun -
the closure to be executeda -
the active actor
def
shutdown : Unit
def
printActorDump : Unit
Scala Library
|
|