|
Scala Library
|
|
class
SimpleExecutorScheduler(protected val executor : java.util.concurrent.ExecutorService, protected val terminate : Boolean)
extends TerminationService with scala.actors.scheduler.ExecutorSchedulerSimpleExecutorScheduler class uses an
ExecutorService to execute Actors. It
does not start an additional thread.
A SimpleExecutorScheduler attempts to shut down
the underlying ExecutorService only if
terminate is set to true.
Otherwise, the ExecutorService must be shut down either
directly or by shutting down the
SimpleExecutorScheduler instance.| Additional Constructor Summary | |
def
|
this : SimpleExecutorScheduler |
| Values and Variables inherited from TerminationService | |
| CHECK_FREQ |
| Values and Variables inherited from TerminationMonitor | |
| activeActors, terminationHandlers |
| Methods inherited from ThreadPoolRunner | |
| functionAsTask, futureAsFunction, submit, execute, managedBlock |
| Methods inherited from TaskRunner | |
| tryCatch |
| Methods inherited from TerminationService | |
| run, shutdown |
| Methods inherited from TerminationMonitor | |
| newActor, onTerminate, terminated, allTerminated, gc |
| Methods inherited from IScheduler | |
| executeFromActor, tick, onLockup, onLockup, printActorDump |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Additional Constructor Details |
|
Scala Library
|
|