Class VertxFutureSupport<T>

java.lang.Object
io.smallrye.faulttolerance.vertx.VertxFutureSupport<T>
All Implemented Interfaces:
io.smallrye.faulttolerance.core.invocation.AsyncSupport<T,io.vertx.core.Future<T>>

public class VertxFutureSupport<T> extends Object implements io.smallrye.faulttolerance.core.invocation.AsyncSupport<T,io.vertx.core.Future<T>>
  • Constructor Details

    • VertxFutureSupport

      public VertxFutureSupport()
  • Method Details

    • mustDescription

      public String mustDescription()
      Specified by:
      mustDescription in interface io.smallrye.faulttolerance.core.invocation.AsyncSupport<T,io.vertx.core.Future<T>>
    • doesDescription

      public String doesDescription()
      Specified by:
      doesDescription in interface io.smallrye.faulttolerance.core.invocation.AsyncSupport<T,io.vertx.core.Future<T>>
    • applies

      public boolean applies(Class<?>[] parameterTypes, Class<?> returnType)
      Specified by:
      applies in interface io.smallrye.faulttolerance.core.invocation.AsyncSupport<T,io.vertx.core.Future<T>>
    • createComplete

      public io.vertx.core.Future<T> createComplete(T value)
      Specified by:
      createComplete in interface io.smallrye.faulttolerance.core.invocation.AsyncSupport<T,io.vertx.core.Future<T>>
    • toFuture

      public io.smallrye.faulttolerance.core.Future<T> toFuture(io.smallrye.faulttolerance.core.invocation.Invoker<io.vertx.core.Future<T>> invoker)
      Specified by:
      toFuture in interface io.smallrye.faulttolerance.core.invocation.AsyncSupport<T,io.vertx.core.Future<T>>
    • fromFuture

      public io.vertx.core.Future<T> fromFuture(io.smallrye.faulttolerance.core.invocation.Invoker<io.smallrye.faulttolerance.core.Future<T>> invoker)
      Specified by:
      fromFuture in interface io.smallrye.faulttolerance.core.invocation.AsyncSupport<T,io.vertx.core.Future<T>>