Scala Library
|
|
scala/actors/TickedScheduler.scala
]
class
TickedScheduler
extends
java.lang.Thread with
WorkerThreadScheduler with
AnyRefThis scheduler uses a thread pool to execute tasks that are generated by the execution of actors.
Use classFJTaskScheduler2
instead.Values and Variables inherited from IScheduler | |
QUIT_TASK |
Method Summary | |
def
|
execute (item : java.lang.Runnable) : Unit |
def
|
execute
(fun : => Unit) : Unit
Submits a closure for execution.
|
def
|
getTask (worker : WorkerThread) : java.lang.Runnable |
def
|
onLockup (millis : Int)(handler : () => Unit) : Unit |
def
|
onLockup (handler : () => Unit) : Unit |
def
|
printActorDump : Unit |
override def
|
run : Unit |
def
|
shutdown
: Unit
Shuts down all idle worker threads.
|
def
|
tick (a : Actor) : 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
printActorDump : Unit
override
def
run : Unit
def
execute(item : java.lang.Runnable) : Unit
item -
the task to be executed.fun -
the closure to be executed
def
getTask(worker : WorkerThread) : java.lang.Runnable
worker -
the worker thread executing tasksa -
the actor
def
shutdown : Unit
Scala Library
|
|