Class QuarkusAsyncHealthCheckFactory

java.lang.Object
io.smallrye.health.AsyncHealthCheckFactory
io.quarkus.smallrye.health.runtime.QuarkusAsyncHealthCheckFactory

@Singleton public class QuarkusAsyncHealthCheckFactory extends io.smallrye.health.AsyncHealthCheckFactory
Quarkus specific health check factory that runs blocking and reactive health checks with different executors provided by MutinyHelper.
  • Constructor Summary

    Constructors
    Constructor
    Description
    QuarkusAsyncHealthCheckFactory(io.vertx.core.Vertx vertx)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.mutiny.Uni<org.eclipse.microprofile.health.HealthCheckResponse>
    callAsync(io.smallrye.health.api.AsyncHealthCheck asyncHealthCheck)
     
    io.smallrye.mutiny.Uni<org.eclipse.microprofile.health.HealthCheckResponse>
    callSync(org.eclipse.microprofile.health.HealthCheck healthCheck)
     

    Methods inherited from class io.smallrye.health.AsyncHealthCheckFactory

    setUncheckedExceptionDataStyle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QuarkusAsyncHealthCheckFactory

      public QuarkusAsyncHealthCheckFactory(io.vertx.core.Vertx vertx)
  • Method Details

    • callSync

      public io.smallrye.mutiny.Uni<org.eclipse.microprofile.health.HealthCheckResponse> callSync(org.eclipse.microprofile.health.HealthCheck healthCheck)
      Overrides:
      callSync in class io.smallrye.health.AsyncHealthCheckFactory
    • callAsync

      public io.smallrye.mutiny.Uni<org.eclipse.microprofile.health.HealthCheckResponse> callAsync(io.smallrye.health.api.AsyncHealthCheck asyncHealthCheck)
      Overrides:
      callAsync in class io.smallrye.health.AsyncHealthCheckFactory