1 25 package org.jrobin.core; 26 27 import java.io.IOException ; 28 import java.io.OutputStream ; 29 30 36 public interface RrdDataSet 37 { 38 43 public int getRowCount(); 44 45 50 public int getColumnCount(); 51 52 58 public long[] getTimestamps(); 59 60 67 public double[] getValues( int dsIndex ); 68 69 75 public double[][] getValues(); 76 77 85 public double[] getValues( String dsName ) throws RrdException; 86 87 92 public long getFirstTimestamp(); 93 94 99 public long getLastTimestamp(); 100 101 106 public String [] getDsNames(); 107 108 116 public int getDsIndex( String dsName ) throws RrdException; 117 118 123 public long getStep(); 124 125 134 public double getAggregate( String dsName, String consolFun ) throws RrdException; 135 136 143 public void exportXml( OutputStream outputStream ) throws RrdException, IOException ; 144 145 152 public void exportXml( String filepath ) throws RrdException, IOException ; 153 154 161 public String exportXml() throws RrdException, IOException ; 162 } 163 | Popular Tags |