public class HystrixMetricHandler extends Object implements Handler<RoutingContext>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<HystrixMetricHandler> |
__TYPE_ARG |
Constructor and Description |
---|
HystrixMetricHandler(HystrixMetricHandler delegate) |
HystrixMetricHandler(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static HystrixMetricHandler |
create(Vertx vertx)
Creates the handler, using the default notification address and listening to local messages only.
|
static HystrixMetricHandler |
create(Vertx vertx,
String address)
Creates the handler, listening only to local messages.
|
static HystrixMetricHandler |
create(Vertx vertx,
String address,
boolean localOnly)
Creates the handler.
|
boolean |
equals(Object o) |
HystrixMetricHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
static HystrixMetricHandler |
newInstance(HystrixMetricHandler arg) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<HystrixMetricHandler> __TYPE_ARG
public HystrixMetricHandler(HystrixMetricHandler delegate)
public HystrixMetricHandler(Object delegate)
public HystrixMetricHandler getDelegate()
public void handle(RoutingContext event)
handle
in interface Handler<RoutingContext>
event
- the event to handlepublic static HystrixMetricHandler create(Vertx vertx)
vertx
- the Vert.x instancepublic static HystrixMetricHandler create(Vertx vertx, String address)
vertx
- the Vert.x instanceaddress
- the address to listen on the event buspublic static HystrixMetricHandler create(Vertx vertx, String address, boolean localOnly)
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 instancepublic static HystrixMetricHandler newInstance(HystrixMetricHandler arg)
Copyright © 2023 Eclipse. All rights reserved.