@Override
  public PoolMetrics<?> createPoolMetrics(
      final String poolType, final String poolName, final int maxPoolSize) {
    return new PoolMetricsAdapter(metricsSystem, poolType, poolName);
  }
Instantiates a new Vertx metrics adapter.

@param metricsSystem the metrics system
metrics/core/src/main/java/org/hyperledger/besu/metrics/vertx/VertxMetricsAdapter.java