Scala Library
|
|
scala/actors/SchedulerAdapter.scala
]
trait
SchedulerAdapter
extends
ISchedulerSchedulerAdapter
trait is used to adapt
the behavior of the standard Scheduler
object.
Providing an implementation for the
execute(f: => Unit)
method is sufficient to
obtain a concrete IScheduler
class.Values and Variables inherited from IScheduler | |
QUIT_TASK |
Method Summary | |
def
|
execute
(task : java.lang.Runnable) : Unit
Submits a
Runnable for execution. |
def
|
onLockup (millis : Int)(handler : () => Unit) : Unit |
def
|
onLockup (handler : () => Unit) : Unit |
def
|
printActorDump : Unit |
def
|
shutdown
: Unit
Shuts down the scheduler.
|
def
|
tick
(a : Actor) : Unit
Notifies the scheduler about activity of the
executing actor.
|
Methods inherited from IScheduler | |
execute (abstract) |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
execute(task : java.lang.Runnable) : Unit
Runnable
for execution.task -
the task to be executeda -
the active actor
def
shutdown : Unit
def
printActorDump : Unit
Scala Library
|
|