/** * Returns string representing complete internal RRD state. The returned * string can be printed to <code>stdout</code> and/or used for debugging purposes. * * @return String representing internal RRD state. * @throws java.io.IOException Thrown in case of I/O related error. */ public synchronized String dump() throws IOException { StringBuilder buffer = new StringBuilder(); buffer.append(header.dump()); for (Datasource datasource : datasources) { buffer.append(datasource.dump()); } for (Archive archive : archives) { buffer.append(archive.dump()); } return buffer.toString(); }
/** * <p>Returns string representing complete internal RRD state. The returned * string can be printed to <code>stdout</code> and/or used for debugging purposes.</p> * * @return String representing internal RRD state. * @throws IOException Thrown in case of I/O related error. */ public synchronized String dump() throws IOException { StringBuilder buffer = new StringBuilder(); buffer.append(header.dump()); for (Datasource datasource : datasources) { buffer.append(datasource.dump()); } for (Archive archive : archives) { buffer.append(archive.dump()); } return buffer.toString(); }