class CompositeRegistry extends MetricRegistry {

    public void add(MetricRegistry registry) {
        Assert.checkArg(!(registry instanceof CompositeRegistry),
            String.format("registry: %s can not be  a CompositeRegistry!", registry));
        registries.add(registry);
    }

    public  CompositeRegistry(Clock clock);

}