Package io.vertx.mutiny.ext.consul
Class WatchResult<T>
java.lang.Object
io.vertx.mutiny.ext.consul.WatchResult<T>
- All Implemented Interfaces:
MutinyDelegate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWatchResult
(io.vertx.ext.consul.WatchResult delegate) WatchResult
(io.vertx.ext.consul.WatchResult delegate, TypeArg<T> typeArg_0) WatchResult
(Object delegate, TypeArg<T> typeArg_0) -
Method Summary
Modifier and TypeMethodDescriptioncause()
boolean
boolean
failed()
io.vertx.ext.consul.WatchResult
int
hashCode()
static <T> WatchResult<T>
newInstance
(io.vertx.ext.consul.WatchResult arg) static <T> WatchResult<T>
newInstance
(io.vertx.ext.consul.WatchResult arg, TypeArg<T> __typeArg_T) boolean
toString()
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
-
Constructor Details
-
WatchResult
public WatchResult(io.vertx.ext.consul.WatchResult delegate) -
WatchResult
-
WatchResult
-
-
Method Details
-
getDelegate
public io.vertx.ext.consul.WatchResult getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
prevResult
- Returns:
- the previous result.
-
nextResult
- Returns:
- the next result or null if the operation failed.
-
cause
- Returns:
- the cause or null if the operation succeeded.
-
succeeded
public boolean succeeded()- Returns:
- true if it succeded or false otherwise
-
failed
public boolean failed()- Returns:
- true if it failed or false otherwise
-
newInstance
-
newInstance
public static <T> WatchResult<T> newInstance(io.vertx.ext.consul.WatchResult arg, TypeArg<T> __typeArg_T)
-