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

项目:vertx-spring    文件:VertxMetricsAdapter.java   
@Override
default DatagramSocketMetrics createMetrics(DatagramSocket socket, DatagramSocketOptions options) {
    return DummyVertxMetrics.DummyDatagramMetrics.INSTANCE;
}
项目:vertx-spring    文件:DispatchingDatagramSocketMetrics.java   
public DispatchingDatagramSocketMetrics(List<? extends DatagramSocketMetrics> delegates) {
    super(delegates);
}
项目:vertx-spring    文件:DispatchingVertxMetrics.java   
@Override
public DatagramSocketMetrics createMetrics(DatagramSocket socket, DatagramSocketOptions options) {
    return createSubMetrics(v -> v.createMetrics(socket, options),
            d -> new DispatchingDatagramSocketMetrics(d));
}
项目:vertx-spring    文件:VertxActuatorMetrics.java   
@Override
public DatagramSocketMetrics createMetrics(DatagramSocket socket, DatagramSocketOptions options) {
    return new DatagramSocketMetricsImpl(counterService, gaugeService, properties.getDatagramSocket());
}
项目:vertx-hawkular-metrics    文件:VertxMetricsImpl.java   
@Override
public DatagramSocketMetrics createMetrics(DatagramSocket socket, DatagramSocketOptions options) {
  DatagramSocketMetricsSupplier supplier = (DatagramSocketMetricsSupplier) metricSuppliers.get(DATAGRAM_SOCKET);
  return supplier != null ? new DatagramSocketMetricsImpl(supplier) : super.createMetrics(socket, options);
}
项目:vertx-dropwizard-metrics    文件:VertxMetricsImpl.java   
@Override
public DatagramSocketMetrics createMetrics(DatagramSocket socket, DatagramSocketOptions options) {
  return new DatagramSocketMetricsImpl(this, nameOf("datagram"));
}