Java 类io.vertx.core.spi.metrics.EventBusMetrics 实例源码

项目:vertx-spring    文件:DispatchingEventBusMetrics.java   
public DispatchingEventBusMetrics(List<? extends EventBusMetrics> delegates) {
    super(delegates);
}
项目:vertx-spring    文件:DispatchingEventBusMetrics.java   
@Override
public Map<EventBusMetrics, ?> handlerRegistered(String address, String repliedAddress) {
    return dispatchWithResult(m -> m.handlerRegistered(address, repliedAddress));
}
项目:vertx-spring    文件:DispatchingEventBusMetrics.java   
@Override
public void handlerUnregistered(Map<EventBusMetrics, ?> handler) {
    unmap(handler, (m, h) -> m.handlerUnregistered(h));
}
项目:vertx-spring    文件:DispatchingEventBusMetrics.java   
@Override
public void scheduleMessage(Map<EventBusMetrics, ?> handler, boolean local) {
    unmap(handler, (m, h) -> m.scheduleMessage(h, local));
}
项目:vertx-spring    文件:DispatchingEventBusMetrics.java   
@Override
public void beginHandleMessage(Map<EventBusMetrics, ?> handler, boolean local) {
    unmap(handler, (m, h) -> m.beginHandleMessage(h, local));
}
项目:vertx-spring    文件:DispatchingEventBusMetrics.java   
@Override
public void endHandleMessage(Map<EventBusMetrics, ?> handler, Throwable failure) {
    unmap(handler, (m, h) -> m.endHandleMessage(h, failure));
}
项目:vertx-spring    文件:VertxMetricsAdapter.java   
@Override
default EventBusMetrics createMetrics(EventBus eventBus) {
    return DummyVertxMetrics.DummyEventBusMetrics.INSTANCE;
}
项目:vertx-spring    文件:DispatchingVertxMetrics.java   
@Override
public EventBusMetrics<?> createMetrics(EventBus eventBus) {
    return createSubMetrics(v -> v.createMetrics(eventBus),
            d -> new DispatchingEventBusMetrics(d));
}
项目:vertx-spring    文件:VertxActuatorMetrics.java   
@Override
public EventBusMetrics createMetrics(EventBus eventBus) {
    return new EventBusMetricsImpl(counterService, gaugeService, properties.getEventBus());
}
项目:vertx-hawkular-metrics    文件:VertxMetricsImpl.java   
@Override
public EventBusMetrics createMetrics(EventBus eventBus) {
  EventBusMetrics supplier = (EventBusMetrics) metricSuppliers.get(EVENT_BUS);
  return supplier != null ? supplier : super.createMetrics(eventBus);
}
项目:vertx-dropwizard-metrics    文件:VertxMetricsImpl.java   
@Override
public EventBusMetrics createMetrics(EventBus eventBus) {
  return new EventBusMetricsImpl(this, nameOf("eventbus"), options);
}