@Override
    public MetricSnapshot latestSnapshot() {
        Bucket curr = metricReceiver.getSnapshot();
        if (curr == null) {
            log.warning("no snapshot from instance of " + metricReceiver.getClass());
            return null;
        } else {
            SnapshotConverter converter = new SnapshotConverter(curr);
            return converter.convert();
        }
    }
A factory for all the JDisc API classes.

@author Steinar Knutsen
container-core/src/main/java/com/yahoo/metrics/simple/jdisc/JdiscMetricsFactory.java