The activity has failed, with exception exc
.
The activity is running with a current value of t
.
An ADT describing the state of an Activity.
The activity is pending output.
Constructs an Activity from a state Event.
Create a new pending activity.
Create a new pending activity. The activity's state is updated by the given witness.
A Java friendly method for Activity.collect()
.
[use case] Collect a collection of activities into an activity of a collection of values.
Create a new static activity with exception exc
.
Create an activity backed by a com.twitter.util.Future.
Create an activity backed by a com.twitter.util.Future.
The resultant Activity
is pending until the original Future
is
satisfied. Future
success or failure corresponds to the expected
Activity.Ok
or Activity.Failed
result.
Closure of observations of the run
Var
of the resultant Activity
is
not propagated to the original Future
. That is to say, invoking
close()
on observations of Activity.run
will not result in the
cancellation of the original Future
.
Join 22 Activities.
Join 22 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 21 Activities.
Join 21 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 20 Activities.
Join 20 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 19 Activities.
Join 19 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 18 Activities.
Join 18 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 17 Activities.
Join 17 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 16 Activities.
Join 16 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 15 Activities.
Join 15 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 14 Activities.
Join 14 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 13 Activities.
Join 13 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 12 Activities.
Join 12 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 11 Activities.
Join 11 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 10 Activities.
Join 10 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 9 Activities.
Join 9 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 8 Activities.
Join 8 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 7 Activities.
Join 7 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 6 Activities.
Join 6 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 5 Activities.
Join 5 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 4 Activities.
Join 4 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 3 Activities.
Join 3 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
Join 2 Activities.
Join 2 Activities. The returned Activity is complete when all underlying Activities are nonpending. It fails immediately if any of them do.
A static Activity that is pending.
Sample given Activity
.
Create a new static activity with value v
.
Note: There is a Java-friendly API for this object: com.twitter.util.Activities.