Skip navigation links
A C F G H I P W 

A

allOf(Collection<? extends Promise<?>>) - Static method in class com.dxfeed.promise.Promises
Returns a new promise that completes when all promises from the given collection complete normally or exceptionally.
allOf(Promise<?>...) - Static method in class com.dxfeed.promise.Promises
Returns a new promise that completes when all promises from the given array complete normally or exceptionally.
anyOf(Collection<? extends Promise<T>>) - Static method in class com.dxfeed.promise.Promises
Returns a new promise that completes when any promise from the given collection complete normally or exceptionally.
anyOf(Promise<T>...) - Static method in class com.dxfeed.promise.Promises
Returns a new promise that completes when any promise from the given array complete normally or exceptionally.
await() - Method in class com.dxfeed.promise.Promise
Wait for computation to complete and return its result or throw an exception in case of exceptional completion.
await(long, TimeUnit) - Method in class com.dxfeed.promise.Promise
Wait for computation to complete or timeout and return its result or throw an exception in case of exceptional completion or timeout.
awaitWithoutException(long, TimeUnit) - Method in class com.dxfeed.promise.Promise
Wait for computation to complete or timeout or throw an exception in case of exceptional completion.

C

cancel() - Method in class com.dxfeed.promise.Promise
Cancels computation.
com.dxfeed.promise - package com.dxfeed.promise
Provides Promise class for request-based APIs that can be used both synchronously and asynchronously.
complete(T) - Method in class com.dxfeed.promise.Promise
Completes computation normally with a specified result.
completed(T) - Static method in class com.dxfeed.promise.Promise
Returns new promise that is completed with a specified result.
completeExceptionally(Throwable) - Method in class com.dxfeed.promise.Promise
Completes computation exceptionally with a specified exception.

F

failed(Throwable) - Static method in class com.dxfeed.promise.Promise
Returns new promise that is completed exceptionally with a specified exception.

G

getException() - Method in class com.dxfeed.promise.Promise
Returns exceptional outcome of computation.
getResult() - Method in class com.dxfeed.promise.Promise
Returns result of computation.

H

handleDone(PromiseHandler<? super T>) - Method in class com.dxfeed.promise.Promise
Invoked when promise is done.
hasException() - Method in class com.dxfeed.promise.Promise
Returns true when computation has completed exceptionally or was cancelled.
hasResult() - Method in class com.dxfeed.promise.Promise
Returns true when computation has completed normally.

I

isCancelled() - Method in class com.dxfeed.promise.Promise
Returns true when computation was cancelled.
isDone() - Method in class com.dxfeed.promise.Promise
Returns true when computation has completed normally, or exceptionally, or was cancelled.

P

Promise<T> - Class in com.dxfeed.promise
Result of a computation that will be completed normally or exceptionally in the future.
Promise() - Constructor for class com.dxfeed.promise.Promise
Creates promise in the initial state and without an executor for notifications.
promiseDone(Promise<? extends T>) - Method in interface com.dxfeed.promise.PromiseHandler
Invoked when promised computation has completed normally, or exceptionally, or was canceled.
PromiseException - Exception in com.dxfeed.promise
Indicates that promised computation has completed exceptionally.
PromiseException(Throwable) - Constructor for exception com.dxfeed.promise.PromiseException
Constructs exception with a given cause.
PromiseHandler<T> - Interface in com.dxfeed.promise
Handler for promised computation completion.
Promises - Class in com.dxfeed.promise
Utility methods to manipulate promises.

W

whenDone(PromiseHandler<? super T>) - Method in class com.dxfeed.promise.Promise
Registers a handler to be invoked exactly once when computation completes.
whenDoneAsync(PromiseHandler<? super T>, Executor) - Method in class com.dxfeed.promise.Promise
Registers a handler to be invoked asynchronously exactly once when computation completes.
A C F G H I P W 
Skip navigation links

Copyright © 2002–2025 Devexperts LLC. All rights reserved.