Class WatchResult<T>


  • public class WatchResult<T>
    extends Object
    • Constructor Detail

      • WatchResult

        public WatchResult​(io.vertx.ext.consul.WatchResult delegate)
      • WatchResult

        public WatchResult​(Object delegate,
                           TypeArg<T> typeArg_0)
      • WatchResult

        public WatchResult​(io.vertx.ext.consul.WatchResult delegate,
                           TypeArg<T> typeArg_0)
    • Method Detail

      • getDelegate

        public io.vertx.ext.consul.WatchResult getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • prevResult

        public T prevResult()
        Returns:
        the previous result.
      • nextResult

        public T nextResult()
        Returns:
        the next result or null if the operation failed.
      • cause

        public Throwable 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

        public static <T> WatchResult<T> newInstance​(io.vertx.ext.consul.WatchResult arg)
      • newInstance

        public static <T> WatchResult<T> newInstance​(io.vertx.ext.consul.WatchResult arg,
                                                     TypeArg<T> __typeArg_T)