public class SimpleAsyncResult<E>
extends java.lang.Object
implements io.vertx.core.AsyncResult<E>
Constructor and Description |
---|
SimpleAsyncResult(E result) |
SimpleAsyncResult(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
cause() |
boolean |
failed() |
E |
result() |
boolean |
succeeded() |
public SimpleAsyncResult(java.lang.Throwable cause)
public SimpleAsyncResult(E result)
public java.lang.Throwable cause()
cause
in interface io.vertx.core.AsyncResult<E>
public boolean succeeded()
succeeded
in interface io.vertx.core.AsyncResult<E>
public boolean failed()
failed
in interface io.vertx.core.AsyncResult<E>