Class WatchResult<T>
java.lang.Object
io.vertx.rxjava3.ext.consul.WatchResult<T>
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<WatchResult> final io.vertx.lang.rx.TypeArg<T> -
Constructor Summary
ConstructorsConstructorDescriptionWatchResult(WatchResult delegate) WatchResult(Object delegate, io.vertx.lang.rx.TypeArg<T> typeArg_0) -
Method Summary
Modifier and TypeMethodDescriptioncause()A Throwable describing failure.booleanbooleanfailed()Did it fail?inthashCode()static <T> WatchResult<T> newInstance(WatchResult arg) static <T> WatchResult<T> newInstance(WatchResult arg, io.vertx.lang.rx.TypeArg<T> __typeArg_T) The next result of the operation.The previous result of the operation.booleanDid it succeed?toString()
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
-
Constructor Details
-
WatchResult
-
WatchResult
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
prevResult
-
nextResult
The next result of the operation. This will be null if the operation failed.- Returns:
- the next result or null if the operation failed.
-
cause
A Throwable describing failure. This will be null if the operation succeeded.- Returns:
- the cause or null if the operation succeeded.
-
succeeded
public boolean succeeded()Did it succeed?- Returns:
- true if it succeded or false otherwise
-
failed
public boolean failed()Did it fail?- Returns:
- true if it failed or false otherwise
-
newInstance
-
newInstance
public static <T> WatchResult<T> newInstance(WatchResult arg, io.vertx.lang.rx.TypeArg<T> __typeArg_T)
-