Scala Library Documentation
|
|
scala/actors/TickedScheduler.scala
]
class
TickedScheduler
extends
java.lang.Thread with
ISchedulerThis scheduler uses a thread pool to execute tasks that are generated by the execution of actors.
Values and Variables inherited from IScheduler | |
QUIT_TASK |
Method Summary | |
def
|
execute (item : java.lang.Runnable) : Unit |
def
|
getTask (worker : WorkerThread) : java.lang.Runnable |
def
|
onLockup (handler : () => Unit) : Unit |
def
|
onLockup (millis : Int)(handler : () => Unit) : Unit |
def
|
pendReaction : Unit |
def
|
printActorDump : Unit |
override def
|
run : Unit |
def
|
shutdown
: Unit
Shuts down all idle worker threads.
|
def
|
snapshot : scala.actors.LinkedQueue |
def
|
start (task : java.lang.Runnable) : Unit |
def
|
terminated (a : Actor) : Unit |
def
|
tick (a : Actor) : Unit |
def
|
unPendReaction : Unit |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
pendReaction : Unit
def
unPendReaction : Unit
def
printActorDump : Unit
def
start(task : java.lang.Runnable) : Unit
override
def
run : Unit
def
execute(item : java.lang.Runnable) : Unit
item -
the task to be executed.
def
snapshot : scala.actors.LinkedQueue
def
getTask(worker : WorkerThread) : java.lang.Runnable
worker -
the worker thread executing tasksa -
the actor
def
shutdown : Unit
Scala Library Documentation
|
|