Package io.vertx.mutiny.circuitbreaker
Class HystrixMetricHandler
java.lang.Object
io.vertx.mutiny.circuitbreaker.HystrixMetricHandler
- All Implemented Interfaces:
MutinyDelegate,io.vertx.core.Handler<RoutingContext>,Consumer<RoutingContext>
public class HystrixMetricHandler
extends Object
implements MutinyDelegate, 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.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHystrixMetricHandler(io.vertx.circuitbreaker.HystrixMetricHandler delegate) HystrixMetricHandler(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) static HystrixMetricHandlerstatic HystrixMetricHandlerstatic HystrixMetricHandlerbooleanio.vertx.circuitbreaker.HystrixMetricHandlervoidhandle(RoutingContext arg0) inthashCode()static HystrixMetricHandlernewInstance(io.vertx.circuitbreaker.HystrixMetricHandler arg) toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
HystrixMetricHandler
public HystrixMetricHandler(io.vertx.circuitbreaker.HystrixMetricHandler delegate) -
HystrixMetricHandler
-
-
Method Details
-
getDelegate
public io.vertx.circuitbreaker.HystrixMetricHandler getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
create
- Parameters:
vertx- the Vert.x instance- Returns:
- the handler
-
create
- Parameters:
vertx- the Vert.x instanceaddress- the address to listen on the event bus- Returns:
- the handler
-
create
- Parameters:
vertx- the Vert.x instanceaddress- the address to listen on the event buslocalOnly- whether the consumer should only receive messages sent from this Vert.x instance- Returns:
- the handler
-
accept
- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
-