class ClassLoadingGaugeSet implements MetricSet {

    @Override
    public Map<String, Metric> getMetrics() {
        final Map<String, Metric> gauges = new HashMap<>();
        gauges.put("loaded", (Gauge<Long>) mxBean::getTotalLoadedClassCount);
        gauges.put("unloaded", (Gauge<Long>) mxBean::getUnloadedClassCount);

        return gauges;
    }

    public  ClassLoadingGaugeSet();
    public  ClassLoadingGaugeSet(ClassLoadingMXBean mxBean);

}