Promise

Class

No description is available for this element.
Extends

Object

Implements

Future

Modifiers

public

Constructors


new Promise (CompletableFuture)

Constructor
No description is available for this element.
IndexTypeName
1CompletableFuturefuture
Return Type

Promise

Modifiers

public


Fields


future

Field
No description is available for this element.
Type

CompletableFuture

Modifiers

protected final

type

Field
No description is available for this element.
Type

Object

Modifiers

protected volatile



Methods


get ()

Method
No description is available for this element.
Return Type

Object

Modifiers

public synchronized

get (long, TimeUnit)

Method
No description is available for this element.
IndexTypeName
1longtimeout
2TimeUnitunit
Return Type

Object

Modifiers

public synchronized

cancel (boolean)

Method
No description is available for this element.
IndexTypeName
1booleanmayInterruptIfRunning
Return Type

boolean

Modifiers

public

cancel ()

Method
No description is available for this element.
Return Type

void

Modifiers

public

isCancelled ()

Method
No description is available for this element.
Return Type

boolean

Modifiers

public

isDone ()

Method
No description is available for this element.
Return Type

boolean

Modifiers

public

ready ()

Method
No description is available for this element.
Return Type

boolean

Modifiers

public

await ()

Method
No description is available for this element.
Return Type

void

Modifiers

public synchronized

whenComplete (Consumer)

Method
No description is available for this element.
IndexTypeName
1Consumerconsumer
Return Type

void

Modifiers

public