Package io.vertx.mutiny.circuitbreaker
Class HystrixMetricHandler
- java.lang.Object
 - 
- io.vertx.mutiny.circuitbreaker.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 theoriginalnon Mutiny-ified interface using Vert.x codegen. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static TypeArg<HystrixMetricHandler>__TYPE_ARG 
- 
Constructor Summary
Constructors Constructor Description HystrixMetricHandler(io.vertx.circuitbreaker.HystrixMetricHandler delegate)HystrixMetricHandler(Object delegate) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(RoutingContext item)static HystrixMetricHandlercreate(Vertx vertx)static HystrixMetricHandlercreate(Vertx vertx, String address)booleanequals(Object o)io.vertx.circuitbreaker.HystrixMetricHandlergetDelegate()voidhandle(RoutingContext arg0)inthashCode()static HystrixMetricHandlernewInstance(io.vertx.circuitbreaker.HystrixMetricHandler arg)StringtoString() 
 - 
 
- 
- 
Field Detail
- 
__TYPE_ARG
public static final TypeArg<HystrixMetricHandler> __TYPE_ARG
 
 - 
 
- 
Constructor Detail
- 
HystrixMetricHandler
public HystrixMetricHandler(io.vertx.circuitbreaker.HystrixMetricHandler delegate)
 
- 
HystrixMetricHandler
public HystrixMetricHandler(Object delegate)
 
 - 
 
- 
Method Detail
- 
getDelegate
public io.vertx.circuitbreaker.HystrixMetricHandler getDelegate()
 
- 
handle
public void handle(RoutingContext arg0)
- Specified by:
 handlein interfaceio.vertx.core.Handler<RoutingContext>
 
- 
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 instanceaddress- the address to listen on the event bus- Returns:
 - the handler
 
 
- 
accept
public void accept(RoutingContext item)
- Specified by:
 acceptin interfaceConsumer<RoutingContext>
 
- 
newInstance
public static HystrixMetricHandler newInstance(io.vertx.circuitbreaker.HystrixMetricHandler arg)
 
 - 
 
 -