class SharedMetricRegistries {

    public synchronized static MetricRegistry setDefault(String name) {
        final MetricRegistry registry = getOrCreate(name);
        return setDefault(name, registry);
    }

    private  SharedMetricRegistries();

}