|
Scala 2.4.0-RC1
|
class
TickedScheduler
extends
java.lang.Thread
with
scala.actors.IScheduler
with
scala.ScalaObject
This scheduler uses a thread pool to execute tasks that are generated
by the execution of actors. Unlike ThreadPoolScheduler
, this
scheduler is available on all Java versions >= 1.4.
Constructor Summary | |
def
this
|
Val inherited from scala.actors.IScheduler | |
QUIT_TASK |
Var inherited from java.lang.Thread | |
inheritableThreadLocals , threadLocals |
Def Summary | |
def
execute
(item: scala.actors.Reaction)
: scala.Unit
|
|
def
getTask
(worker: scala.actors.WorkerThread)
: scala.actors.Reaction
|
|
def
onLockup
(handler: () => scala.Unit)
: scala.Unit
|
|
def
onLockup
(millis: scala.Int)(handler: () => scala.Unit)
: scala.Unit
|
|
def
pendReaction
: scala.Unit
|
|
def
printActorDump
: scala.Unit
|
|
override
|
def
run
: scala.Unit
|
def
shutdown
: scala.Unit
Shuts down all idle worker threads. |
|
def
start
(task: scala.actors.Reaction)
: scala.Unit
|
|
def
terminated
(a: scala.actors.Actor)
: scala.Unit
|
|
def
tick
(a: scala.actors.Actor)
: scala.Unit
|
|
def
unPendReaction
: scala.Unit
|
Def inherited from scala.actors.IScheduler | |
execute , getTask, onLockup, onLockup, pendReaction, printActorDump, shutdown, start, start, terminated, tick, unPendReaction |
Constructor Detail |
Def Detail |
def
execute
(item: scala.actors.Reaction): scala.Unit
item -
the task to be executed.
def
getTask
(worker: scala.actors.WorkerThread): scala.actors.Reaction
worker -
the worker thread executing tasks
def
onLockup
(handler: () => scala.Unit): scala.Unit
def
onLockup
(millis: scala.Int)(handler: () => scala.Unit): scala.Unit
def
pendReaction
: scala.Unit
def
printActorDump
: scala.Unit
override
def
run
: scala.Unit
def
shutdown
: scala.Unit
def
start
(task: scala.actors.Reaction): scala.Unit
def
terminated
(a: scala.actors.Actor): scala.Unit
def
tick
(a: scala.actors.Actor): scala.Unit
a -
the actor
def
unPendReaction
: scala.Unit