Scala Library
|
|
scala/actors/FJTaskScheduler2.scala
]
class
FJTaskScheduler2
extends
java.lang.Thread with
ISchedulerValue Summary | |
val
|
coreProp : java.lang.String |
val
|
initCoreSize : Int |
val
|
maxProp : java.lang.String |
val
|
maxSize : Int |
val
|
minNumThreads : Int |
var
|
printStats : Boolean |
val
|
rt : java.lang.Runtime |
Values and Variables inherited from IScheduler | |
QUIT_TASK |
Method Summary | |
def
|
execute
(fun : => Unit) : Unit
Submits a closure for execution.
|
def
|
execute (task : java.lang.Runnable) : Unit |
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
|
snapshot : scala.actors.LinkedQueue |
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 |
Value Details |
var
printStats : Boolean
val
rt : java.lang.Runtime
val
minNumThreads : Int
val
coreProp : java.lang.String
val
maxProp : java.lang.String
val
initCoreSize : Int
val
maxSize : Int
Method Details |
def
printActorDump : Unit
override
def
run : Unit
def
execute(task : java.lang.Runnable) : Unit
task -
the task to be executedfun -
the closure to be executeda -
the actor
def
shutdown : Unit
def
snapshot : scala.actors.LinkedQueue
Scala Library
|
|