use of org.opennms.netmgt.config.collectd.jmx.Rrd in project opennms by OpenNMS.
the class JmxCollectionCloner method clone.
/**
* Clones a Rrd object. Makes a deep copy!
*
* @param input
* @return
*/
private static Rrd clone(Rrd input) {
Rrd output = new Rrd();
output.setStep(input.getStep());
for (final String rra : input.getRraCollection()) {
output.addRra(rra);
}
return output;
}
Aggregations