java.lang.Object | |
↳ | uk.ac.imperial.presage2.core.simulator.MultiThreadedSchedule |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get number of threads in use by this executor.
| |||||||||||
Shutdown executor.
| |||||||||||
Submit a task with no completion condition to wait for.
| |||||||||||
Submit a task with specified
ScheduleExecutor.WaitCondition . | |||||||||||
Submit a conditional task and receive a Future representing its
future return value.
| |||||||||||
Wait for all scheduled tasks for the specified
ScheduleExecutor.WaitCondition to
complete. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
uk.ac.imperial.presage2.core.simulator.ScheduleExecutor
|
Submit a task with no completion condition to wait for.
Submit a task with specified ScheduleExecutor.WaitCondition
.
s | Runnable task |
---|
Submit a conditional task and receive a Future representing its future return value.
s | Callable task, returning a boolean. |
---|
Wait for all scheduled tasks for the specified ScheduleExecutor.WaitCondition
to
complete.