MCPcopy Create free account

hub / github.com/BoltsFramework/Bolts-Java / functions

Functions63 in github.com/BoltsFramework/Bolts-Java

↓ 29 callersMethodisCompleted
@return {@code true} if the task completed (has a result, an error, or was cancelled. {@code false} otherwise.
Bolts/src/bolts/Task.java:112
↓ 24 callersMethodisFaulted
@return {@code true} if the task has an error, {@code false} otherwise.
Bolts/src/bolts/Task.java:130
↓ 23 callersMethodisCancelled
@return {@code true} if the task was cancelled, {@code false} otherwise.
Bolts/src/bolts/Task.java:121
↓ 17 callersMethodgetError
@return The error for the task, if set. {@code null} otherwise.
Bolts/src/bolts/Task.java:148
↓ 16 callersMethodcontinueWith
Adds a continuation that will be scheduled using the executor, returning a new task that completes after the continuation has finished running. This a
Bolts/src/bolts/Task.java:336
↓ 14 callersMethodforResult
Creates a completed task with the given value.
Bolts/src/bolts/Task.java:168
↓ 13 callersMethodget
()
Bolts/src/bolts/Capture.java:27
↓ 12 callersMethodgetResult
@return The result of the task, if set. {@code null} otherwise.
Bolts/src/bolts/Task.java:139
↓ 10 callersMethodcallInBackground
Invokes the callable on a background thread using the default thread pool, returning a Task to represent the operation.
Bolts/src/bolts/Task.java:223
↓ 9 callersMethodrunTaskTest
(Callable<Task<?>> callable)
BoltsTest/src/bolts/TaskTest.java:25
↓ 8 callersMethodcancelled
Creates a cancelled task with the given error.
Bolts/src/bolts/Task.java:186
↓ 8 callersMethodcontinueWithTask
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
Bolts/src/bolts/Task.java:370
↓ 8 callersMethodcreate
Creates a TaskCompletionSource that orchestrates a Task. This allows the creator of a task to be solely responsible for its completion. @return A new
Bolts/src/bolts/Task.java:103
↓ 8 callersMethodgetTask
@return the Task associated with this TaskCompletionSource.
Bolts/src/bolts/Task.java:562
↓ 7 callersMethodforError
Creates a faulted task with the given error.
Bolts/src/bolts/Task.java:177
↓ 7 callersMethodsetError
Sets the error of the Task, throwing if the Task has already been completed.
Bolts/src/bolts/Task.java:635
↓ 7 callersMethodsetResult
Sets the result of the Task, throwing if the Task has already been completed.
Bolts/src/bolts/Task.java:626
↓ 5 callersMethodonSuccessTask
Runs a continuation when a task completes successfully, forwarding along errors or cancellation.
Bolts/src/bolts/Task.java:432
↓ 4 callersMethodset
(T value)
Bolts/src/bolts/Capture.java:31
↓ 4 callersMethodsetCancelled
Sets the cancelled flag on the task, throwing if the Task has already been completed.
Bolts/src/bolts/Task.java:617
↓ 4 callersMethodwaitForCompletion
Blocks until the task is complete.
Bolts/src/bolts/Task.java:157
↓ 4 callersMethodwhenAll
Creates a task that completes when all of the provided tasks are complete.
Bolts/src/bolts/Task.java:254
↓ 3 callersMethodcall
Invokes the callable using the given executor, returning a Task to represent the operation.
Bolts/src/bolts/Task.java:230
↓ 3 callersMethodexecute
(Runnable command)
Bolts/src/bolts/Task.java:73
↓ 3 callersMethodgetErrors
Returns the list of errors that this exception encapsulates.
Bolts/src/bolts/AggregateException.java:31
↓ 3 callersMethodonSuccess
Runs a continuation when a task completes successfully, forwarding along errors or cancellation.
Bolts/src/bolts/Task.java:404
↓ 3 callersMethodrunContinuations
()
Bolts/src/bolts/Task.java:534
↓ 3 callersMethodthen
(Task<TTaskResult> task)
Bolts/src/bolts/Continuation.java:17
↓ 2 callersMethodcompleteAfterTask
Handles the async (i.e. the continuation does return a Task) continuation case, passing the results of the given Task through to the given continuatio
Bolts/src/bolts/Task.java:503
↓ 2 callersMethodcompleteImmediately
Handles the non-async (i.e. the continuation doesn't return a Task) continuation case, passing the results of the given Task through to the given cont
Bolts/src/bolts/Task.java:471
↓ 2 callersMethodcontinueWhile
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is a task continuation.
Bolts/src/bolts/Task.java:306
↓ 1 callersMethodcall
()
BoltsTest/src/bolts/TaskTest.java:123
↓ 1 callersMethoddecrementDepth
Decrements the depth. @return the new depth value.
Bolts/src/bolts/Task.java:59
↓ 1 callersMethodincrementDepth
Increments the depth. @return the new depth value.
Bolts/src/bolts/Task.java:44
↓ 1 callersMethodmakeVoid
Turns a Task<T> into a Task<Void>, dropping any result.
Bolts/src/bolts/Task.java:205
↓ 1 callersMethodrun
()
Bolts/src/bolts/Task.java:233
↓ 1 callersMethodtrySetCancelled
Sets the cancelled flag on the Task if the Task hasn't already been completed.
Bolts/src/bolts/Task.java:569
↓ 1 callersMethodtrySetError
Sets the error on the Task if the Task hasn't already been completed.
Bolts/src/bolts/Task.java:601
↓ 1 callersMethodtrySetResult
Sets the result on the Task if the Task hasn't already been completed.
Bolts/src/bolts/Task.java:585
MethodAggregateException
(List<Exception> errors)
Bolts/src/bolts/AggregateException.java:22
MethodCapture
()
Bolts/src/bolts/Capture.java:20
MethodTask
()
Bolts/src/bolts/Task.java:93
MethodTaskCompletionSource
()
Bolts/src/bolts/Task.java:556
Methodcast
Makes a fluent cast of a Task's result possible, avoiding an extra continuation just to cast the type of the result.
Bolts/src/bolts/Task.java:196
MethodtestAsyncChaining
()
BoltsTest/src/bolts/TaskTest.java:355
MethodtestBackgroundCall
()
BoltsTest/src/bolts/TaskTest.java:121
MethodtestBackgroundCallWaitOnCancellation
()
BoltsTest/src/bolts/TaskTest.java:163
MethodtestBackgroundCallWaiting
()
BoltsTest/src/bolts/TaskTest.java:139
MethodtestBackgroundCallWaitingOnError
()
BoltsTest/src/bolts/TaskTest.java:151
MethodtestBackgroundError
()
BoltsTest/src/bolts/TaskTest.java:180
MethodtestContinueWhile
()
BoltsTest/src/bolts/TaskTest.java:439
MethodtestContinueWhileAsync
()
BoltsTest/src/bolts/TaskTest.java:462
MethodtestOnSuccess
()
BoltsTest/src/bolts/TaskTest.java:387
MethodtestOnSuccessTask
()
BoltsTest/src/bolts/TaskTest.java:413
MethodtestPrimitives
()
BoltsTest/src/bolts/TaskTest.java:43
MethodtestSynchronousChaining
()
BoltsTest/src/bolts/TaskTest.java:101
MethodtestSynchronousContinuation
()
BoltsTest/src/bolts/TaskTest.java:63
MethodtestWhenAllCancel
()
BoltsTest/src/bolts/TaskTest.java:314
MethodtestWhenAllOneError
()
BoltsTest/src/bolts/TaskTest.java:230
MethodtestWhenAllSuccess
()
BoltsTest/src/bolts/TaskTest.java:198
MethodtestWhenAllTwoErrors
()
BoltsTest/src/bolts/TaskTest.java:271
Methodthen
(Task<Integer> task)
BoltsTest/src/bolts/TaskTest.java:69
Methodthen
(Task<TResult> task)
Bolts/src/bolts/Task.java:207