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

pack-priv Class FixedOtherwise<T>

extends Operation<T>
implements Listener<T>
Class Inheritance
All Implemented Interfaces
io.vertx.core.impl.future.Listener
Imports
io.vertx.core.impl.ContextInternal

Otherwise value transformation.
Author
Julien Viet

Field Summary

Modifier and TypeField and Description
private final T

Constructor Summary

AccessConstructor and Description
pack-priv
FixedOtherwise(ContextInternal context, T value)

Method Summary

Modifier and TypeMethod and Description
public void
onFailure(Throwable
the failure
failure
)

Implements io.vertx.core.impl.future.Listener.onFailure.

Signal the failure

public void
onSuccess(T
the value
value
)

Implements io.vertx.core.impl.future.Listener.onSuccess.

Signal the success.

Field Detail

valueback to summary
private final T value

Hides io.vertx.core.impl.future.FutureImpl.value.

Constructor Detail

FixedOtherwiseback to summary
pack-priv FixedOtherwise(ContextInternal context, T value)

Method Detail

onFailureback to summary
public void onFailure(Throwable failure)

Implements io.vertx.core.impl.future.Listener.onFailure.

Doc from io.vertx.core.impl.future.Listener.onFailure.

Signal the failure

Parameters
failure:Throwable

the failure

Annotations
@Override
onSuccessback to summary
public void onSuccess(T value)

Implements io.vertx.core.impl.future.Listener.onSuccess.

Doc from io.vertx.core.impl.future.Listener.onSuccess.

Signal the success.

Parameters
value:T

the value

Annotations
@Override