A B C D E F G I M O P R S T U W 

A

AggregateException - Exception in bolts
Aggregates multiple Throwables that may be thrown in the process of a task's execution.
AggregateException(String, Throwable[]) - Constructor for exception bolts.AggregateException
Constructs a new AggregateException with the current stack trace, the specified detail message and with references to the inner throwables that are the cause of this exception.
AggregateException(String, List<? extends Throwable>) - Constructor for exception bolts.AggregateException
Constructs a new AggregateException with the current stack trace, the specified detail message and with references to the inner throwables that are the cause of this exception.
AggregateException(List<? extends Throwable>) - Constructor for exception bolts.AggregateException
Constructs a new AggregateException with the current stack trace and with references to the inner throwables that are the cause of this exception.

B

BACKGROUND_EXECUTOR - Static variable in class bolts.Task
An Executor that executes tasks in parallel.
bolts - package bolts
 

C

call(Callable<TResult>, Executor) - Static method in class bolts.Task
Invokes the callable using the given executor, returning a Task to represent the operation.
call(Callable<TResult>, Executor, CancellationToken) - Static method in class bolts.Task
Invokes the callable using the given executor, returning a Task to represent the operation.
call(Callable<TResult>) - Static method in class bolts.Task
Invokes the callable on the current thread, producing a Task.
call(Callable<TResult>, CancellationToken) - Static method in class bolts.Task
Invokes the callable on the current thread, producing a Task.
callInBackground(Callable<TResult>) - Static method in class bolts.Task
Invokes the callable on a background thread, returning a Task to represent the operation.
callInBackground(Callable<TResult>, CancellationToken) - Static method in class bolts.Task
Invokes the callable on a background thread, returning a Task to represent the operation.
cancel() - Method in class bolts.CancellationTokenSource
Cancels the token if it has not already been cancelled.
cancelAfter(long) - Method in class bolts.CancellationTokenSource
Schedules a cancel operation on this CancellationTokenSource after the specified number of milliseconds.
CancellationToken - Class in bolts
Propagates notification that operations should be canceled.
CancellationTokenRegistration - Class in bolts
Represents a callback delegate that has been registered with a CancellationToken.
CancellationTokenSource - Class in bolts
Signals to a CancellationToken that it should be canceled.
CancellationTokenSource() - Constructor for class bolts.CancellationTokenSource
Create a new CancellationTokenSource.
cancelled() - Static method in class bolts.Task
Creates a cancelled task.
Capture<T> - Class in bolts
Provides a class that can be used for capturing variables in an anonymous class implementation.
Capture() - Constructor for class bolts.Capture
 
Capture(T) - Constructor for class bolts.Capture
 
cast() - Method in class bolts.Task
Makes a fluent cast of a Task's result possible, avoiding an extra continuation just to cast the type of the result.
close() - Method in class bolts.CancellationTokenRegistration
Unregisters the callback runnable from the cancellation token.
close() - Method in class bolts.CancellationTokenSource
 
Continuation<TTaskResult,TContinuationResult> - Interface in bolts
A function to be called after a task completes.
continueWhile(Callable<Boolean>, Continuation<Void, Task<Void>>) - Method in class bolts.Task
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is a task continuation.
continueWhile(Callable<Boolean>, Continuation<Void, Task<Void>>, CancellationToken) - Method in class bolts.Task
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is a task continuation.
continueWhile(Callable<Boolean>, Continuation<Void, Task<Void>>, Executor) - Method in class bolts.Task
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is a task continuation.
continueWhile(Callable<Boolean>, Continuation<Void, Task<Void>>, Executor, CancellationToken) - Method in class bolts.Task
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is a task continuation.
continueWith(Continuation<TResult, TContinuationResult>, Executor) - Method in class bolts.Task
Adds a continuation that will be scheduled using the executor, returning a new task that completes after the continuation has finished running.
continueWith(Continuation<TResult, TContinuationResult>, Executor, CancellationToken) - Method in class bolts.Task
Adds a continuation that will be scheduled using the executor, returning a new task that completes after the continuation has finished running.
continueWith(Continuation<TResult, TContinuationResult>) - Method in class bolts.Task
Adds a synchronous continuation to this task, returning a new task that completes after the continuation has finished running.
continueWith(Continuation<TResult, TContinuationResult>, CancellationToken) - Method in class bolts.Task
Adds a synchronous continuation to this task, returning a new task that completes after the continuation has finished running.
continueWithTask(Continuation<TResult, Task<TContinuationResult>>, Executor) - Method in class bolts.Task
Adds an Task-based continuation to this task that will be scheduled using the executor, returning a new task that completes after the task returned by the continuation has completed.
continueWithTask(Continuation<TResult, Task<TContinuationResult>>, Executor, CancellationToken) - Method in class bolts.Task
Adds an Task-based continuation to this task that will be scheduled using the executor, returning a new task that completes after the task returned by the continuation has completed.
continueWithTask(Continuation<TResult, Task<TContinuationResult>>) - Method in class bolts.Task
Adds an asynchronous continuation to this task, returning a new task that completes after the task returned by the continuation has completed.
continueWithTask(Continuation<TResult, Task<TContinuationResult>>, CancellationToken) - Method in class bolts.Task
Adds an asynchronous continuation to this task, returning a new task that completes after the task returned by the continuation has completed.
create() - Static method in class bolts.Task
Deprecated.
Please use bolts.TaskCompletionSource() instead.

D

delay(long) - Static method in class bolts.Task
Creates a task that completes after a time delay.
delay(long, CancellationToken) - Static method in class bolts.Task
Creates a task that completes after a time delay.

E

ExecutorException - Exception in bolts
This is a wrapper class for emphasizing that task failed due to bad Executor, rather than the continuation block it self.
ExecutorException(Exception) - Constructor for exception bolts.ExecutorException
 

F

forError(Exception) - Static method in class bolts.Task
Creates a faulted task with the given error.
forResult(TResult) - Static method in class bolts.Task
Creates a completed task with the given value.

G

get() - Method in class bolts.Capture
 
getCauses() - Method in exception bolts.AggregateException
Deprecated.
getError() - Method in class bolts.Task
 
getErrors() - Method in exception bolts.AggregateException
Deprecated.
getInnerThrowables() - Method in exception bolts.AggregateException
Returns a read-only List of the Throwable instances that caused the current exception.
getResult() - Method in class bolts.Task
 
getTask() - Method in class bolts.TaskCompletionSource
 
getToken() - Method in class bolts.CancellationTokenSource
 
getUnobservedExceptionHandler() - Static method in class bolts.Task
Returns the handler invoked when a task has an unobserved exception or null.

I

isCancellationRequested() - Method in class bolts.CancellationToken
 
isCancellationRequested() - Method in class bolts.CancellationTokenSource
 
isCancelled() - Method in class bolts.Task
 
isCompleted() - Method in class bolts.Task
 
isFaulted() - Method in class bolts.Task
 

M

makeVoid() - Method in class bolts.Task
Turns a Task into a Task, dropping any result.

O

onSuccess(Continuation<TResult, TContinuationResult>, Executor) - Method in class bolts.Task
Runs a continuation when a task completes successfully, forwarding along Exception or cancellation.
onSuccess(Continuation<TResult, TContinuationResult>, Executor, CancellationToken) - Method in class bolts.Task
Runs a continuation when a task completes successfully, forwarding along Exception or cancellation.
onSuccess(Continuation<TResult, TContinuationResult>) - Method in class bolts.Task
Runs a continuation when a task completes successfully, forwarding along Exceptions or cancellation.
onSuccess(Continuation<TResult, TContinuationResult>, CancellationToken) - Method in class bolts.Task
Runs a continuation when a task completes successfully, forwarding along Exceptions or cancellation.
onSuccessTask(Continuation<TResult, Task<TContinuationResult>>, Executor) - Method in class bolts.Task
Runs a continuation when a task completes successfully, forwarding along Exceptions or cancellation.
onSuccessTask(Continuation<TResult, Task<TContinuationResult>>, Executor, CancellationToken) - Method in class bolts.Task
Runs a continuation when a task completes successfully, forwarding along Exceptions or cancellation.
onSuccessTask(Continuation<TResult, Task<TContinuationResult>>) - Method in class bolts.Task
Runs a continuation when a task completes successfully, forwarding along Exceptions or cancellation.
onSuccessTask(Continuation<TResult, Task<TContinuationResult>>, CancellationToken) - Method in class bolts.Task
Runs a continuation when a task completes successfully, forwarding along Exceptions or cancellation.

P

printStackTrace(PrintStream) - Method in exception bolts.AggregateException
 
printStackTrace(PrintWriter) - Method in exception bolts.AggregateException
 

R

register(Runnable) - Method in class bolts.CancellationToken
Registers a runnable that will be called when this CancellationToken is canceled.

S

set(T) - Method in class bolts.Capture
 
setCancelled() - Method in class bolts.TaskCompletionSource
Sets the cancelled flag on the task, throwing if the Task has already been completed.
setError(Exception) - Method in class bolts.TaskCompletionSource
Sets the error of the Task, throwing if the Task has already been completed.
setResult(TResult) - Method in class bolts.TaskCompletionSource
Sets the result of the Task, throwing if the Task has already been completed.
setUnobservedExceptionHandler(Task.UnobservedExceptionHandler) - Static method in class bolts.Task
Set the handler invoked when a task has an unobserved exception.

T

Task<TResult> - Class in bolts
Represents the result of an asynchronous operation.
Task.TaskCompletionSource - Class in bolts
Deprecated.
Please use TaskCompletionSource instead.
Task.UnobservedExceptionHandler - Interface in bolts
Interface for handlers invoked when a failed Task is about to be finalized, but the exception has not been consumed.
TaskCompletionSource<TResult> - Class in bolts
Allows safe orchestration of a task's completion, preventing the consumer from prematurely completing the task.
TaskCompletionSource() - Constructor for class bolts.TaskCompletionSource
Creates a TaskCompletionSource that orchestrates a Task.
then(Task<TTaskResult>) - Method in interface bolts.Continuation
 
throwIfCancellationRequested() - Method in class bolts.CancellationToken
 
toString() - Method in class bolts.CancellationToken
 
toString() - Method in class bolts.CancellationTokenSource
 
trySetCancelled() - Method in class bolts.TaskCompletionSource
Sets the cancelled flag on the Task if the Task hasn't already been completed.
trySetError(Exception) - Method in class bolts.TaskCompletionSource
Sets the error on the Task if the Task hasn't already been completed.
trySetResult(TResult) - Method in class bolts.TaskCompletionSource
Sets the result on the Task if the Task hasn't already been completed.

U

UI_THREAD_EXECUTOR - Static variable in class bolts.Task
An Executor that executes tasks on the UI thread.
unobservedException(Task<?>, UnobservedTaskException) - Method in interface bolts.Task.UnobservedExceptionHandler
Method invoked when the given task has an unobserved exception.
UnobservedTaskException - Exception in bolts
Used to signify that a Task's error went unobserved.
UnobservedTaskException(Throwable) - Constructor for exception bolts.UnobservedTaskException
 

W

waitForCompletion() - Method in class bolts.Task
Blocks until the task is complete.
waitForCompletion(long, TimeUnit) - Method in class bolts.Task
Blocks until the task is complete or times out.
whenAll(Collection<? extends Task<?>>) - Static method in class bolts.Task
Creates a task that completes when all of the provided tasks are complete.
whenAllResult(Collection<? extends Task<TResult>>) - Static method in class bolts.Task
Creates a task that completes when all of the provided tasks are complete.
whenAny(Collection<? extends Task<?>>) - Static method in class bolts.Task
Creates a task that will complete when any of the supplied tasks have completed.
whenAnyResult(Collection<? extends Task<TResult>>) - Static method in class bolts.Task
Creates a task that will complete when any of the supplied tasks have completed.
A B C D E F G I M O P R S T U W