scala.actors

class TickedScheduler

[source: scala/actors/TickedScheduler.scala]

class TickedScheduler
extends Thread with IScheduler

This scheduler uses a thread pool to execute tasks that are generated by the execution of actors.

Version
0.9.8
Author
Philipp Haller
Values and Variables inherited from IScheduler
QUIT_TASK
Method Summary
def execute (item : Runnable) : Unit
def getTask (worker : WorkerThread) : Runnable
def onLockup (millis : Int)(handler : () => Unit) : Unit
def onLockup (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 : Runnable) : 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
Overrides
IScheduler.pendReaction

def unPendReaction : Unit
Overrides
IScheduler.unPendReaction

def printActorDump : Unit
Overrides
IScheduler.printActorDump

def start(task : Runnable) : Unit
Overrides
IScheduler.start

def terminated(a : Actor) : Unit
Overrides
IScheduler.terminated

def onLockup(handler : () => Unit) : Unit
Overrides
IScheduler.onLockup

def onLockup(millis : Int)(handler : () => Unit) : Unit
Overrides
IScheduler.onLockup

override def run : Unit
Overrides
Thread.run

def execute(item : Runnable) : Unit
Parameters
item - the task to be executed.
Overrides
IScheduler.execute

def snapshot : scala.actors.LinkedQueue
Overrides
IScheduler.snapshot

def getTask(worker : WorkerThread) : Runnable
Parameters
worker - the worker thread executing tasks
Returns
the executed task
Overrides
IScheduler.getTask

def tick(a : Actor) : Unit
Parameters
a - the actor
Overrides
IScheduler.tick

def shutdown : Unit
Shuts down all idle worker threads.
Overrides
IScheduler.shutdown