Top Description Methods
io.vertx.core.impl.future

public Interface FutureInternal<T>

extends Future<T>
Known Direct Subinterfaces
io.vertx.core.impl.future.PromiseInternal
Known Direct Implementers
io.vertx.core.impl.future.FutureBase
Imports
io.vertx.core.Future, io.vertx.core.impl.ContextInternal

Expose some of the future internal stuff.
Author
Julien Viet

Method Summary

Modifier and TypeMethod and Description
public void
addListener(Listener<T>
the listener
listener
)

Add a listener to the future result.

public ContextInternal

Returns:

the context associated with this promise or null when there is none
context
()

public void
removeListener(Listener<T>
the listener
listener
)

Remove a listener to the future result.

Inherited from io.vertx.core.Future:
allallallallallallandThenanyanyanyanyanyanyawaitcausecomposecomposeeventuallyeventuallyexpectingfailedfailedFuturefailedFutureflatMapfromCompletionStagefromCompletionStagefutureisCompletejoinjoinjoinjoinjoinjoinmapmapmapEmptyonCompleteonCompleteonFailureonSuccessotherwiseotherwiseotherwiseEmptyrecoverresultsucceededsucceededFuturesucceededFuturetimeouttoCompletionStagetransform

Method Detail

addListenerback to summary
public void addListener(Listener<T> listener)

Add a listener to the future result.

Parameters
listener:Listener<T>

the listener

contextback to summary
public ContextInternal context()
Returns:ContextInternal

the context associated with this promise or null when there is none

removeListenerback to summary
public void removeListener(Listener<T> listener)

Remove a listener to the future result.

Parameters
listener:Listener<T>

the listener