|
Scala Library Documentation
|
|
scala/actors/TickedScheduler.scala]
class
TickedScheduler
extends 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 (task : scala.actors.FJTask) : Unit |
def
|
execute (item : Reaction) : Unit |
def
|
getTask (worker : WorkerThread) : 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 : Reaction) : Unit |
def
|
terminated (a : Actor) : Unit |
def
|
tick (a : Actor) : Unit |
def
|
unPendReaction : Unit |
| Methods inherited from Thread | |
| blockedOn, start, stop, stop, interrupt, isInterrupted, destroy, isAlive, suspend, resume, setPriority, getPriority, setName, getName, getThreadGroup, countStackFrames, join, join, join, setDaemon, isDaemon, checkAccess, toString, getContextClassLoader, setContextClassLoader, getStackTrace, getId, getState, getUncaughtExceptionHandler, setUncaughtExceptionHandler |
| 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
override
def
run : Unit
item - the task to be executed.
def
execute(task : scala.actors.FJTask) : Unit
def
snapshot : scala.actors.LinkedQueue
def
getTask(worker : WorkerThread) : Runnable
worker - the worker thread executing tasksa - the actor
def
shutdown : Unit
|
Scala Library Documentation
|
|