Class HystrixMetricHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>

    public class HystrixMetricHandler
    extends Object
    implements io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
    A Vert.x web handler to expose the circuit breaker to the Hystrix dasbboard. The handler listens to the circuit breaker notifications sent on the event bus.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • HystrixMetricHandler

        public HystrixMetricHandler​(io.vertx.circuitbreaker.HystrixMetricHandler delegate)
      • HystrixMetricHandler

        public HystrixMetricHandler​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.circuitbreaker.HystrixMetricHandler getDelegate()
      • hashCode

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

        public static HystrixMetricHandler create​(Vertx vertx)
        Parameters:
        vertx - the Vert.x instance
        Returns:
        the handler
      • create

        public static HystrixMetricHandler create​(Vertx vertx,
                                                  String address)
        Parameters:
        vertx - the Vert.x instance
        address - the address to listen on the event bus
        Returns:
        the handler
      • create

        public static HystrixMetricHandler create​(Vertx vertx,
                                                  String address,
                                                  boolean localOnly)
        Parameters:
        vertx - the Vert.x instance
        address - the address to listen on the event bus
        localOnly - whether the consumer should only receive messages sent from this Vert.x instance
        Returns:
        the handler
      • newInstance

        public static HystrixMetricHandler newInstance​(io.vertx.circuitbreaker.HystrixMetricHandler arg)