A B C D E F G H I M N P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractTask - Class in swim.concurrent
-
Skeletal implementation of a stateful
Task. - AbstractTask() - Constructor for class swim.concurrent.AbstractTask
- AbstractTimer - Class in swim.concurrent
-
Skeletal implementation of a stateful
Timer. - AbstractTimer() - Constructor for class swim.concurrent.AbstractTimer
- add(T, float) - Method in class swim.concurrent.ConcurrentTrancheQueue
- async(Cont<T>, T) - Static method in interface swim.concurrent.Cont
-
Returns a
Runnablethat, when executed, invokes the givencontinuation with the provided constantvalue. - await() - Method in class swim.concurrent.Sync
-
Waits an unbounded amount of time for this
Synccontinuation to complete. - await(long) - Method in class swim.concurrent.Sync
-
Waits a maximum of
timeoutmilliseconds for thisSynccontinuation to complete.
B
- bind(T) - Method in interface swim.concurrent.Call
-
Completes this
Callwith avalueby eventually invoking thebind(T)method of thisCall'sContinuation. - bind(T) - Method in interface swim.concurrent.Cont
-
Invoked when the asynchronous operation completes with a
value. - bind(T) - Method in class swim.concurrent.Sync
- block() - Method in class swim.concurrent.Sync
C
- call(Cont<T>) - Method in class swim.concurrent.SideStage
- call(Cont<T>) - Method in interface swim.concurrent.Stage
-
Returns a
Callthat completes thecontinuation. - call(Cont<T>) - Method in class swim.concurrent.Theater
- Call<T> - Interface in swim.concurrent
-
Handle used to eventually complete an asynchronous operation by invoking a
Continuation. - callDidBind(Cont<?>, T) - Method in class swim.concurrent.Theater
-
Introspection callback invoked immediately after a call to
cont.bind(value)returns nominally. - callDidFail(Cont<?>, Throwable) - Method in class swim.concurrent.Theater
-
Introspection callback invoked immediately after a call to
cont.bind(T)fails by throwing anerror. - callDidTrap(Cont<?>, Throwable) - Method in class swim.concurrent.Theater
-
Introspection callback invoked immediately after a call to
cont.trap(error)returns nominally. - callWillBind(Cont<T>, T) - Method in class swim.concurrent.Theater
-
Introspection callback invoked immediately before a call to
cont.bind(value). - callWillCue(Cont<?>) - Method in class swim.concurrent.Theater
-
Introspection callback invoked before a
contcall is cued for execution. - callWillTrap(Cont<?>, Throwable) - Method in class swim.concurrent.Theater
-
Introspection callback invoked immediately before a call to
cont.trap(error). - cancel() - Method in class swim.concurrent.AbstractTask
-
Cancels this task to prevent it from executing.
- cancel() - Method in class swim.concurrent.AbstractTimer
-
Cancels this timer to prevent it from executing.
- cancel() - Method in interface swim.concurrent.TaskContext
-
Cancels the task to prevent it from executing.
- cancel() - Method in interface swim.concurrent.TaskRef
-
Cancels the task to prevent it from executing.
- cancel() - Method in interface swim.concurrent.TimerContext
-
Cancels the timer to prevent it from executing.
- cancel() - Method in interface swim.concurrent.TimerRef
-
Cancels the timer to prevent it from executing.
- Clock - Class in swim.concurrent
-
Hashed wheel timer
Schedule. - Clock() - Constructor for class swim.concurrent.Clock
-
Constructs a new
Clockwith a timer resolution ofClock.TICK_MILLISmilliseconds, and a clock period ofClock.TICK_COUNTticks per revolution. - Clock(int, int) - Constructor for class swim.concurrent.Clock
-
Constructs a new
Clockwith a timer resolution oftickMillismilliseconds, and a clock period oftickCountticks per revolution. - Clock(ClockDef) - Constructor for class swim.concurrent.Clock
-
Constructs a new
Clockwith the timer resolution and clock period specified by the givenclockDef. - ClockDef - Class in swim.concurrent
- ClockDef(int, int) - Constructor for class swim.concurrent.ClockDef
- clockForm() - Static method in class swim.concurrent.ClockDef
- ConcurrentTrancheQueue<T> - Class in swim.concurrent
- ConcurrentTrancheQueue(int) - Constructor for class swim.concurrent.ConcurrentTrancheQueue
- constant(Cont<T>, T) - Static method in interface swim.concurrent.Cont
-
Returns a
Continuation that, when completed successfully, completes the givencontinuation with the provided constantvalue; and when failed with an error, fails the givencontinuation with the error. - cont() - Method in interface swim.concurrent.Call
-
Returns the
Continuation that thisCallcompletes. - Cont<T> - Interface in swim.concurrent
-
Continuation of an asynchronous operation.
- ContException - Exception in swim.concurrent
- ContException() - Constructor for exception swim.concurrent.ContException
- ContException(String) - Constructor for exception swim.concurrent.ContException
- ContException(String, Throwable) - Constructor for exception swim.concurrent.ContException
- ContException(Throwable) - Constructor for exception swim.concurrent.ContException
- copy(int, int) - Method in class swim.concurrent.ClockDef
- copy(String, int, ScheduleDef) - Method in class swim.concurrent.TheaterDef
- cue() - Method in class swim.concurrent.AbstractTask
-
Schedules this task to execute as a sequential process.
- cue() - Method in interface swim.concurrent.TaskContext
-
Schedules the task to execute as a sequential process.
- cue() - Method in interface swim.concurrent.TaskRef
-
Schedules the task to execute as a sequential process.
D
- debug(Output<T>) - Method in class swim.concurrent.ClockDef
- debug(Output<T>) - Method in class swim.concurrent.TheaterDef
- didFail(Throwable) - Method in class swim.concurrent.Clock
-
Lifecycle callback invoked if the timer thread throws a fatal
error. - didFail(Throwable) - Method in class swim.concurrent.Theater
-
Lifecycle callback invoked if this
Theaterencounters an internalerror. - didStart() - Method in class swim.concurrent.Clock
-
Lifecycle callback invoked after the clock thread starts.
- didStart() - Method in class swim.concurrent.Theater
-
Lifecycle callback invoked before the thread pool starts up.
- didStop() - Method in class swim.concurrent.Clock
-
Lifecycle callback invoked after the clock thread stops.
- didStop() - Method in class swim.concurrent.Theater
-
Lifecycle callback invoked after the thread pool shuts down.
- didTick(long, long) - Method in class swim.concurrent.Clock
-
Introspection callback invoked after each tick of the clock.
- drop(Throwable) - Method in interface swim.concurrent.PullRequest
- drop(Throwable) - Method in class swim.concurrent.PushRequest
- DropException - Exception in swim.concurrent
-
Used to trap a continuation when a
PullRequestdrops. - DropException() - Constructor for exception swim.concurrent.DropException
- DropException(String) - Constructor for exception swim.concurrent.DropException
- DropException(String, Throwable) - Constructor for exception swim.concurrent.DropException
- DropException(Throwable) - Constructor for exception swim.concurrent.DropException
E
- equals(Object) - Method in class swim.concurrent.ClockDef
- equals(Object) - Method in class swim.concurrent.TheaterDef
- execute(Runnable) - Method in class swim.concurrent.SideStage
- execute(Runnable) - Method in interface swim.concurrent.Stage
-
Schedules a
runnablefor concurrent execution. - execute(Runnable) - Method in class swim.concurrent.Theater
F
- fillInStackTrace() - Method in exception swim.concurrent.DropException
- form() - Static method in interface swim.concurrent.ScheduleDef
- form() - Static method in interface swim.concurrent.StageDef
G
- get() - Method in class swim.concurrent.PushRequest
H
- hashCode() - Method in class swim.concurrent.ClockDef
- hashCode() - Method in class swim.concurrent.TheaterDef
I
- ignore() - Static method in interface swim.concurrent.Cont
-
Returns a
Contcontinuation that, when completed successfully, does nothing; and when failed with an exception, throws the exception. - isCued() - Method in class swim.concurrent.AbstractTask
-
Returns
trueif the task is currently scheduled for execution. - isCued() - Method in interface swim.concurrent.TaskContext
-
Returns
trueif the task is currently scheduled for execution. - isCued() - Method in interface swim.concurrent.TaskRef
-
Returns
trueif the task is currently scheduled for execution. - isNonFatal(Throwable) - Static method in interface swim.concurrent.Cont
-
Returns
trueifthrowableis a recoverable exception; returnsfalseifthrowablecannot be recovered from. - isPreemptive() - Method in interface swim.concurrent.Preemptive
-
Returns
trueif callers can safely invoke this function object concurrently. - isReleasable() - Method in class swim.concurrent.Sync
- isScheduled() - Method in class swim.concurrent.AbstractTimer
-
Returns
trueif this timer is currently scheduled to execute. - isScheduled() - Method in interface swim.concurrent.TimerContext
-
Returns
trueif the timer is currently scheduled to execute. - isScheduled() - Method in interface swim.concurrent.TimerRef
-
Returns
trueif the timer is currently scheduled to execute.
M
- MainStage - Interface in swim.concurrent
-
Stagethat can be started and stopped.
N
- name() - Method in class swim.concurrent.Theater
- name() - Method in class swim.concurrent.TheaterDef
- name(String) - Method in class swim.concurrent.TheaterDef
- nanoTime() - Method in class swim.concurrent.Clock
-
Returns the current time, in nanoseconds, with arbitrary origin.
P
- parallelism() - Method in class swim.concurrent.Theater
- parallelism() - Method in class swim.concurrent.TheaterDef
- parallelism(int) - Method in class swim.concurrent.TheaterDef
- peek() - Method in class swim.concurrent.ConcurrentTrancheQueue
- poll() - Method in class swim.concurrent.ConcurrentTrancheQueue
- Preemptive - Interface in swim.concurrent
-
Function interface that callers can optionally invoke concurrently.
- prio() - Method in interface swim.concurrent.PullRequest
- prio() - Method in class swim.concurrent.PushRequest
- pull(PullContext<? super T>) - Method in interface swim.concurrent.PullRequest
- pull(PullContext<? super T>) - Method in class swim.concurrent.PushRequest
- PullContext<T> - Interface in swim.concurrent
- PullRequest<T> - Interface in swim.concurrent
- push(T) - Method in interface swim.concurrent.PullContext
- PushRequest<T> - Class in swim.concurrent
- PushRequest(T) - Constructor for class swim.concurrent.PushRequest
- PushRequest(T, float) - Constructor for class swim.concurrent.PushRequest
R
- reschedule(long) - Method in class swim.concurrent.AbstractTimer
-
Schedules this timer to execute after
millismilliseconds has elapsed. - reschedule(long) - Method in interface swim.concurrent.TimerContext
-
Schedules the timer to execute after
millismilliseconds has elapsed. - reschedule(long) - Method in interface swim.concurrent.TimerRef
-
Schedules the timer to execute after
millismilliseconds has elapsed. - runTask() - Method in class swim.concurrent.AbstractTask
- runTask() - Method in interface swim.concurrent.Task
-
Executes this sequential process.
- runTask() - Method in interface swim.concurrent.TaskFunction
-
Executes this sequential process.
- runTimer() - Method in class swim.concurrent.AbstractTimer
- runTimer() - Method in interface swim.concurrent.Timer
-
Executes scheduled logic when this
Timerfires. - runTimer() - Method in interface swim.concurrent.TimerFunction
-
Executes scheduled logic when this timer fires.
- runTimer(TimerFunction, Runnable) - Method in class swim.concurrent.Clock
-
Invokes
timer.runTimer(), or arranges for the asynchronous execution of the providedrunnable, which will itself invoketimer.runTimer(). - runTimer(TimerFunction, Runnable) - Method in class swim.concurrent.StageClock
S
- schedule() - Method in class swim.concurrent.AbstractTimer
-
Returns the
Scheduleto which this timer is bound. - schedule() - Method in class swim.concurrent.Theater
- schedule() - Method in interface swim.concurrent.TimerContext
-
Returns the
Scheduleto which the timer is bound. - Schedule - Interface in swim.concurrent
-
Timetable for executing timers at their scheduled times.
- scheduleDef() - Method in class swim.concurrent.TheaterDef
- scheduleDef(ScheduleDef) - Method in class swim.concurrent.TheaterDef
- ScheduleDef - Interface in swim.concurrent
-
Marker interface for a
Scheduledefinition. - ScheduleException - Exception in swim.concurrent
-
Thrown when a
Scheduleencounters an error. - ScheduleException() - Constructor for exception swim.concurrent.ScheduleException
- ScheduleException(String) - Constructor for exception swim.concurrent.ScheduleException
- ScheduleException(String, Throwable) - Constructor for exception swim.concurrent.ScheduleException
- ScheduleException(Throwable) - Constructor for exception swim.concurrent.ScheduleException
- setSchedule(Schedule) - Method in class swim.concurrent.Theater
- setTaskContext(TaskContext) - Method in class swim.concurrent.AbstractTask
- setTaskContext(TaskContext) - Method in interface swim.concurrent.Task
-
Sets the context used to managed this
Task. - setTimer(long, TimerFunction) - Method in class swim.concurrent.Clock
- setTimer(long, TimerFunction) - Method in interface swim.concurrent.Schedule
-
Schedules
timerto execute aftermillismilliseconds have elapsed. - setTimer(long, TimerFunction) - Method in class swim.concurrent.SideStage
- setTimer(long, TimerFunction) - Method in class swim.concurrent.Theater
- setTimerContext(TimerContext) - Method in class swim.concurrent.AbstractTimer
- setTimerContext(TimerContext) - Method in interface swim.concurrent.Timer
-
Sets the context used to manage this
Timer. - SideStage - Class in swim.concurrent
-
Stagewrapper that prevents its underlying stage from being started and stopped. - SideStage(Stage) - Constructor for class swim.concurrent.SideStage
- size() - Method in class swim.concurrent.ConcurrentTrancheQueue
- skip() - Method in interface swim.concurrent.PullContext
- sleep(long) - Method in class swim.concurrent.Clock
-
Parks the current thread for the specified number of
millis. - stage - Variable in class swim.concurrent.SideStage
- stage - Variable in class swim.concurrent.StageClock
-
Stageon which to execute timer functions. - stage() - Method in class swim.concurrent.AbstractTask
-
Returns the execution
Stageto which this task is bound. - stage() - Method in class swim.concurrent.StageClock
-
Returns the stage on which to execute timer functions.
- stage() - Method in interface swim.concurrent.TaskContext
-
Returns the execution
Stageto which the task is bound. - Stage - Interface in swim.concurrent
-
An execution context in which to schedule tasks, create continuation calls, and set timers.
- StageClock - Class in swim.concurrent
- StageClock(Stage) - Constructor for class swim.concurrent.StageClock
-
Constructs a new
StageClockwith a timer resolution ofClock.TICK_MILLISmilliseconds, and a clock period ofClock.TICK_COUNTticks per revolution, that executes timer functions on the givenstage. - StageClock(Stage, int, int) - Constructor for class swim.concurrent.StageClock
-
Constructs a new
StageClockwith a timer resolution oftickMillismilliseconds, and a clock period oftickCountticks per revolution, that executes timer functions on the givenstage. - StageClock(Stage, ClockDef) - Constructor for class swim.concurrent.StageClock
-
Constructs a new
StageClock, with the timer resolution and clock period specified by the givenclockDef, that executes timer functions on the givenstage. - StageDef - Interface in swim.concurrent
-
Marker interface for a
Stagedefinition. - standard() - Static method in class swim.concurrent.ClockDef
- standard() - Static method in class swim.concurrent.TheaterDef
- start() - Method in class swim.concurrent.Clock
-
Ensures that this
Clockis up and running, starting up the clock thread if it has not yet been started. - start() - Method in interface swim.concurrent.MainStage
-
Ensures that this
Stageis up and running. - start() - Method in class swim.concurrent.Theater
-
Ensures that this
Theateris up and running. - stay(StayContext, int) - Method in interface swim.concurrent.PullRequest
- stay(StayContext, int) - Method in class swim.concurrent.PushRequest
- stay(StayContext, int) - Method in interface swim.concurrent.Stay
-
Invoked when the asynchronous operation needs to wait before proceeding.
- Stay<T> - Interface in swim.concurrent
-
Backpressure aware continuation.
- StayContext - Interface in swim.concurrent
-
Source that can delay continuations.
- stop() - Method in class swim.concurrent.Clock
-
Ensures that this
Clockhas been permanently stopped, shutting down the clock thread, if it's currently running. - stop() - Method in interface swim.concurrent.MainStage
-
Ensures that this
Stagehas been permanently stopped. - stop() - Method in class swim.concurrent.Theater
-
Ensures that this
Theaterhas been permanently stopped, shutting down the thread pool, if it's currently running. - swim.concurrent - module swim.concurrent
-
Timer, task, and continuation passing style interfaces, with lightweight scheduler and execution stage implementations.
- swim.concurrent - package swim.concurrent
-
Timer, task, and continuation passing style interfaces, with lightweight scheduler and execution stage implementations.
- Sync<T> - Class in swim.concurrent
-
A
Continuation whose completion can be synchronously awaited. - Sync() - Constructor for class swim.concurrent.Sync
-
Constructs a new
Synccontinuation that awaits a value of typeT. - SyncException - Exception in swim.concurrent
-
Thrown when awaiting a
Synccontinuation times out. - SyncException() - Constructor for exception swim.concurrent.SyncException
- SyncException(String) - Constructor for exception swim.concurrent.SyncException
- SyncException(String, Throwable) - Constructor for exception swim.concurrent.SyncException
- SyncException(Throwable) - Constructor for exception swim.concurrent.SyncException
T
- task(TaskFunction) - Method in class swim.concurrent.SideStage
- task(TaskFunction) - Method in interface swim.concurrent.Stage
-
Returns an uncued
TaskRefbound to thetask, which can later be used to cue thetask. - task(TaskFunction) - Method in class swim.concurrent.Theater
- Task - Interface in swim.concurrent
-
Stateful
TaskFunctionto invoke as a sequential process on a concurrent executionStage, with lifecycle callbacks, and aTaskContextfor self-management. - taskContext - Variable in class swim.concurrent.AbstractTask
- taskContext() - Method in class swim.concurrent.AbstractTask
- taskContext() - Method in interface swim.concurrent.Task
-
Returns the context used to managed this
Task. - TaskContext - Interface in swim.concurrent
- taskDidCancel() - Method in class swim.concurrent.AbstractTask
- taskDidCancel() - Method in interface swim.concurrent.Task
-
Lifecycle callback invoked after this
Taskis explicitly cancelled. - taskDidCancel(TaskFunction) - Method in class swim.concurrent.Theater
-
Introspection callback invoked after a cued
taskis canceled. - taskDidFail(TaskFunction, Throwable) - Method in class swim.concurrent.Theater
-
Introspection callback invoked immediately after
task.runTask()fails by throwing anerror. - taskDidRun(TaskFunction) - Method in class swim.concurrent.Theater
-
Introspection callback invoked immediately after
task.runTask()returns nominally. - TaskException - Exception in swim.concurrent
-
Thrown when performing an invalid operation on a
TaskFunction. - TaskException() - Constructor for exception swim.concurrent.TaskException
- TaskException(String) - Constructor for exception swim.concurrent.TaskException
- TaskException(String, Throwable) - Constructor for exception swim.concurrent.TaskException
- TaskException(Throwable) - Constructor for exception swim.concurrent.TaskException
- TaskFunction - Interface in swim.concurrent
-
Function to invoke as a sequential process on a concurrent execution
Stage. - TaskRef - Interface in swim.concurrent
-
External handle to a
TaskFunctionbound to an executionStage. - taskWillBlock() - Method in class swim.concurrent.AbstractTask
- taskWillBlock() - Method in interface swim.concurrent.Task
-
Returns
trueif thisTaskmight block its thread of execution when running; returnsfalseif thisTaskwill never block. - taskWillCue() - Method in class swim.concurrent.AbstractTask
- taskWillCue() - Method in interface swim.concurrent.Task
-
Lifecycle callback invoked before this
Taskis scheduled for execution. - taskWillCue(TaskFunction) - Method in class swim.concurrent.Theater
-
Introspection callback invoked before a
taskis cued for execution. - taskWillRun(TaskFunction) - Method in class swim.concurrent.Theater
-
Introspection callback invoked immediately before
task.runTask()is executed. - Theater - Class in swim.concurrent
-
Stagethat executes timers, tasks, and continuations on aForkJoinPool. - Theater() - Constructor for class swim.concurrent.Theater
- Theater(int) - Constructor for class swim.concurrent.Theater
- Theater(int, Schedule) - Constructor for class swim.concurrent.Theater
- Theater(String) - Constructor for class swim.concurrent.Theater
- Theater(String, int) - Constructor for class swim.concurrent.Theater
- Theater(String, int, Schedule) - Constructor for class swim.concurrent.Theater
- Theater(String, Schedule) - Constructor for class swim.concurrent.Theater
- Theater(Schedule) - Constructor for class swim.concurrent.Theater
- Theater(TheaterDef) - Constructor for class swim.concurrent.Theater
- TheaterDef - Class in swim.concurrent
- TheaterDef(String, int, ScheduleDef) - Constructor for class swim.concurrent.TheaterDef
- theaterForm() - Static method in class swim.concurrent.TheaterDef
- theaterForm(Form<ScheduleDef>) - Static method in class swim.concurrent.TheaterDef
- tick() - Method in class swim.concurrent.Clock
-
Returns the tick sequence number of the lowest clock tick that has yet to finish executing.
- TICK_COUNT - Static variable in class swim.concurrent.Clock
-
Default number of ticks per clock revolution, used by the no-arg
Clock()constructor. - TICK_MILLIS - Static variable in class swim.concurrent.Clock
-
Default number of milliseconds between clock ticks, used by the no-arg
Clock()constructor. - tickCount() - Method in class swim.concurrent.ClockDef
- tickCount(int) - Method in class swim.concurrent.ClockDef
- tickMillis() - Method in class swim.concurrent.ClockDef
- tickMillis(int) - Method in class swim.concurrent.ClockDef
- timer(TimerFunction) - Method in class swim.concurrent.Clock
- timer(TimerFunction) - Method in interface swim.concurrent.Schedule
-
Returns an unscheduled
TimerRefbound totimer, which can later be used to scheduletimer. - timer(TimerFunction) - Method in class swim.concurrent.SideStage
- timer(TimerFunction) - Method in class swim.concurrent.Theater
- Timer - Interface in swim.concurrent
-
Stateful
TimerFunctionto invoke at a scheduled time, with lifecycle callbacks, and aTimerContextfor self-management. - timerContext - Variable in class swim.concurrent.AbstractTimer
- timerContext() - Method in class swim.concurrent.AbstractTimer
- timerContext() - Method in interface swim.concurrent.Timer
-
Returns the context used to manage this
Timer. - TimerContext - Interface in swim.concurrent
- timerDidCancel() - Method in class swim.concurrent.AbstractTimer
- timerDidCancel() - Method in interface swim.concurrent.Timer
-
Lifecycle callback invoked after this
Timeris explicitly cancelled. - timerDidCancel(TimerFunction) - Method in class swim.concurrent.Clock
-
Introspection callback invoked after a
timerhas been explicitly cancelled; not invoked when a timer is implicitly cancelled, such as when rescheduling an already scheduled timer. - timerDidFail(TimerFunction, Throwable) - Method in class swim.concurrent.Clock
-
Introspection callback invoked after a
timerexecution fails by throwing anerror. - timerDidRun(TimerFunction) - Method in class swim.concurrent.Clock
-
Introspection callback invoked after a
timerexecutes nominally. - TimerException - Exception in swim.concurrent
-
Thrown when performing an invalid operation on a
TimerFunction. - TimerException() - Constructor for exception swim.concurrent.TimerException
- TimerException(String) - Constructor for exception swim.concurrent.TimerException
- TimerException(String, Throwable) - Constructor for exception swim.concurrent.TimerException
- TimerException(Throwable) - Constructor for exception swim.concurrent.TimerException
- TimerFunction - Interface in swim.concurrent
-
Function to invoke at a scheduled time.
- TimerRef - Interface in swim.concurrent
-
External handle to a
TimerFunctionbound to aSchedule. - timerWillRun(TimerFunction) - Method in class swim.concurrent.Clock
-
Introspection callback invoked before a
timeris executed. - timerWillSchedule(long) - Method in class swim.concurrent.AbstractTimer
- timerWillSchedule(long) - Method in interface swim.concurrent.Timer
-
Lifecycle callback invoked before this
Timeris scheduled for execution. - timerWillSchedule(TimerFunction, long) - Method in class swim.concurrent.Clock
-
Introspection callback invoked before a
timeris scheduled for execution with a delay ofmillismilliseconds. - toString() - Method in class swim.concurrent.ClockDef
- toString() - Method in class swim.concurrent.TheaterDef
- trap(Throwable) - Method in interface swim.concurrent.Call
-
Completes this
Callwith anerrorby eventually invoking thetrap(Throwable)method of thisCall'sContinuation. - trap(Throwable) - Method in interface swim.concurrent.Cont
-
Invoked when the asynchronous operation fails with an
error. - trap(Throwable) - Method in class swim.concurrent.Sync
- tryBind(T) - Method in interface swim.concurrent.Call
-
Tries to complete this
Callwith avalue, returningtrueif this operation caused the completion of theCall; returnsfalseif thisCallwas already completed. - tryTrap(Throwable) - Method in interface swim.concurrent.Call
-
Tries to complete this
Callwith anerror, returningtrueif this operation caused the completion of theCall; returnsfalseif thisCallwas already completed.
U
- uncaughtException(Thread, Throwable) - Method in class swim.concurrent.Theater
W
- willStart() - Method in class swim.concurrent.Clock
-
Lifecycle callback invoked before the clock thread starts.
- willStop() - Method in class swim.concurrent.Clock
-
Lifecycle callback invoked before the clock thread stops.
All Classes All Packages