Search in sources :

Example 1 with Rrd

use of org.opennms.xmlns.xsd.config.jmx_datacollection.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());
    output.getRra().addAll(input.getRra());
    return output;
}
Also used : Rrd(org.opennms.xmlns.xsd.config.jmx_datacollection.Rrd)

Aggregations

Rrd (org.opennms.xmlns.xsd.config.jmx_datacollection.Rrd)1