java.lang.Object
swim.concurrent.SideStage
Stage
wrapper that prevents its underlying stage from being started
and stopped.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Call<T>
Returns aCall
that completes thecont
inuation.void
Schedules arunnable
for concurrent execution.setTimer
(long millis, TimerFunction timer) Schedulestimer
to execute aftermillis
milliseconds have elapsed.task
(TaskFunction task) Returns an uncuedTaskRef
bound to thetask
, which can later be used to cue thetask
.timer
(TimerFunction timer) Returns an unscheduledTimerRef
bound totimer
, which can later be used to scheduletimer
.
-
Field Details
-
stage
-
-
Constructor Details
-
SideStage
-
-
Method Details
-
execute
Description copied from interface:Stage
Schedules arunnable
for concurrent execution. -
task
Description copied from interface:Stage
Returns an uncuedTaskRef
bound to thetask
, which can later be used to cue thetask
. -
call
Description copied from interface:Stage
Returns aCall
that completes thecont
inuation. -
timer
Description copied from interface:Schedule
Returns an unscheduledTimerRef
bound totimer
, which can later be used to scheduletimer
. -
setTimer
Description copied from interface:Schedule
Schedulestimer
to execute aftermillis
milliseconds have elapsed. Returns aTimerRef
that can be used to check the status of, reschedule, and canceltimer
.
-