Package org.jrobin.core

Examples of org.jrobin.core.Archive


      b.append("ds[").append(ds.getDsName()).append("].last_ds = ").append(ds.getLastValue()).append("\n");
      b.append("ds[").append(ds.getDsName()).append("].value = ").append(ds.getAccumValue()).append("\n");
      b.append("ds[").append(ds.getDsName()).append("].unknown_sec = ").append(ds.getNanSeconds()).append("\n");
    }
    for (int i = 0; i < rrd.getArcCount(); i++) {
      Archive arc = rrd.getArchive(i);
      b.append("rra[").append(i).append("].cf = \"").append(arc.getConsolFun()).append("\"\n");
      b.append("rra[").append(i).append("].rows = ").append(arc.getRows()).append("\n");
      b.append("rra[").append(i).append("].pdp_per_row = ").append(arc.getSteps()).append("\n");
      b.append("rra[").append(i).append("].xff = ").append(arc.getXff()).append("\n");
      for (int j = 0; j < rrd.getDsCount(); j++) {
        b.append("rra[").append(i).append("].cdp_prep[").append(j).append("].value = ").
            append(arc.getArcState(j).getAccumValue()).append("\n");
        b.append("rra[").append(i).append("].cdp_prep[").append(j).append("].unknown_datapoints = ").
            append(arc.getArcState(j).getNanSteps()).append("\n");
      }
    }
    return b.toString();
  }
View Full Code Here


      b.append("ds[").append(ds.getDsName()).append("].last_ds = ").append(ds.getLastValue()).append("\n");
      b.append("ds[").append(ds.getDsName()).append("].value = ").append(ds.getAccumValue()).append("\n");
      b.append("ds[").append(ds.getDsName()).append("].unknown_sec = ").append(ds.getNanSeconds()).append("\n");
    }
    for (int i = 0; i < rrd.getArcCount(); i++) {
      Archive arc = rrd.getArchive(i);
      b.append("rra[").append(i).append("].cf = \"").append(arc.getConsolFun()).append("\"\n");
      b.append("rra[").append(i).append("].rows = ").append(arc.getRows()).append("\n");
      b.append("rra[").append(i).append("].pdp_per_row = ").append(arc.getSteps()).append("\n");
      b.append("rra[").append(i).append("].xff = ").append(arc.getXff()).append("\n");
      for (int j = 0; j < rrd.getDsCount(); j++) {
        b.append("rra[").append(i).append("].cdp_prep[").append(j).append("].value = ").
            append(arc.getArcState(j).getAccumValue()).append("\n");
        b.append("rra[").append(i).append("].cdp_prep[").append(j).append("].unknown_datapoints = ").
            append(arc.getArcState(j).getNanSteps()).append("\n");
      }
    }
    return b.toString();
  }
View Full Code Here

TOP

Related Classes of org.jrobin.core.Archive

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.