Class WatchResult<T>


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

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<WatchResult> __TYPE_ARG
      • __typeArg_0

        public final io.vertx.lang.rx.TypeArg<T> __typeArg_0
    • Constructor Detail

      • WatchResult

        public WatchResult​(WatchResult delegate)
      • WatchResult

        public WatchResult​(Object delegate,
                           io.vertx.lang.rx.TypeArg<T> typeArg_0)
    • Method Detail

      • hashCode

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

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

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

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

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