UniCompletion

Undocumented in source.

Constructors

this
this(Executor executor, AbstractCompletableFuture dep, AbstractCompletableFuture src)
Undocumented in source.

Members

Functions

claim
bool claim()

Returns true if action can be run. Call only when known to be triggerable. Uses FJ tag bit to ensure that only one thread claims ownership. If async, starts as task -- a later call to tryFire will run action.

isLive
bool isLive()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

dep
AbstractCompletableFuture dep;
Undocumented in source.
executor
Executor executor;
Undocumented in source.
src
AbstractCompletableFuture src;
Undocumented in source.

Inherited Members

From Completion

next
Completion next;
Undocumented in source.
tryFire
AbstractCompletableFuture tryFire(int mode)

Performs completion action if triggered, returning a dependent that may need propagation, if one exists.

isLive
bool isLive()

Returns true if possibly still triggerable. Used by cleanStack.

run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
exec
bool exec()
Undocumented in source. Be warned that the author may not have intended to support it.

From IUniCompletion

claim
bool claim()
Undocumented in source.
isLive
bool isLive()
Undocumented in source.

Meta