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 TypeMethodDescriptionvoid
accept
(RoutingContext item) static HystrixMetricHandler
static HystrixMetricHandler
static HystrixMetricHandler
boolean
io.vertx.circuitbreaker.HystrixMetricHandler
void
handle
(RoutingContext arg0) int
hashCode()
static HystrixMetricHandler
newInstance
(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:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- Specified by:
handle
in 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:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
-