MinimalStage

A subclass that just throws UOE for most non-CompletionStage methods.

Constructors

this
this()
Undocumented in source.
this
this(AltResult r)
Undocumented in source.
this
this(bool r)
Undocumented in source.
this
this(T r)
Undocumented in source.

Members

Functions

cancel
bool cancel(bool mayInterruptIfRunning)
Undocumented in source. Be warned that the author may not have intended to support it.
complete
bool complete()
Undocumented in source. Be warned that the author may not have intended to support it.
complete
bool complete(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
completeAsync
CompletableFuture!(T) completeAsync(Supplier!(T) supplier, Executor executor)
Undocumented in source. Be warned that the author may not have intended to support it.
completeAsync
CompletableFuture!(T) completeAsync(Supplier!(T) supplier)
Undocumented in source. Be warned that the author may not have intended to support it.
completeExceptionally
bool completeExceptionally(Throwable ex)
Undocumented in source. Be warned that the author may not have intended to support it.
completeOnTimeout
CompletableFuture!(T) completeOnTimeout(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
completeOnTimeout
CompletableFuture!(T) completeOnTimeout(T value, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
getNow
T getNow()
Undocumented in source. Be warned that the author may not have intended to support it.
getNow
T getNow(T valueIfAbsent)
Undocumented in source. Be warned that the author may not have intended to support it.
getNumberOfDependents
int getNumberOfDependents()
Undocumented in source. Be warned that the author may not have intended to support it.
isCancelled
bool isCancelled()
Undocumented in source. Be warned that the author may not have intended to support it.
isCompletedExceptionally
bool isCompletedExceptionally()
Undocumented in source. Be warned that the author may not have intended to support it.
isDone
bool isDone()
Undocumented in source. Be warned that the author may not have intended to support it.
join
T join()
Undocumented in source. Be warned that the author may not have intended to support it.
newIncompleteFuture
CompletableFuture!(U) newIncompleteFuture()
Undocumented in source. Be warned that the author may not have intended to support it.
obtrudeException
void obtrudeException(Throwable ex)
Undocumented in source. Be warned that the author may not have intended to support it.
obtrudeValue
void obtrudeValue()
Undocumented in source. Be warned that the author may not have intended to support it.
obtrudeValue
void obtrudeValue(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
orTimeout
CompletableFuture!(T) orTimeout(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
toCompletableFuture
CompletableFuture!(T) toCompletableFuture()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta