public class CompositeMetricWriter extends Object implements MetricWriter
MetricWriter
that just sends its input to all of
the delegates that have been registered.Constructor and Description |
---|
CompositeMetricWriter(List<MetricWriter> writers) |
CompositeMetricWriter(MetricWriter... writers) |
public CompositeMetricWriter(MetricWriter... writers)
public CompositeMetricWriter(List<MetricWriter> writers)
public void increment(Delta<?> delta)
increment
in interface MetricWriter
public void set(Metric<?> value)
set
in interface MetricWriter
public void reset(String metricName)
reset
in interface MetricWriter
Copyright © 2014. All rights reserved.