HystrixMetricHandler

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.

package

Default

Methods

__construct

__construct() 

Creates the handler, using the default notification address.

create( $arg0,  $arg1 = null) : \io\vertx\jphp\circuitbreaker\HystrixMetricHandler
static

param $vertx [Vertx] the Vert.x instance create($vertx)

Creates the handler.

param $vertx [Vertx] the Vert.x instance param $address [string] the address to listen on the event bus create($vertx, $address)

Arguments

$arg0

Vertx

$arg1

string

Response

\io\vertx\jphp\circuitbreaker\HystrixMetricHandler

the handler

Something has happened, so handle it.

handle( $arg0) : void

Arguments

$arg0

RoutingContext