Class WatchResult<T>

java.lang.Object
io.vertx.mutiny.ext.consul.WatchResult<T>
All Implemented Interfaces:
MutinyDelegate

public class WatchResult<T> extends Object implements MutinyDelegate
  • Field Details

  • Constructor Details

    • 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 Details

    • getDelegate

      public io.vertx.ext.consul.WatchResult getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • 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)