class RrdToolReader extends DataImporter
Constructor and Description |
---|
RrdToolReader(String rrdPath) |
Modifier and Type | Method and Description |
---|---|
double |
getAccumValue(int dsIndex) |
int |
getArcCount() |
ConsolFun |
getConsolFun(int arcIndex) |
int |
getDsCount() |
String |
getDsName(int dsIndex) |
DsType |
getDsType(int dsIndex) |
long |
getHeartbeat(int dsIndex) |
long |
getLastUpdateTime() |
double |
getLastValue(int dsIndex) |
double |
getMaxValue(int dsIndex) |
double |
getMinValue(int dsIndex) |
long |
getNanSeconds(int dsIndex) |
int |
getRows(int arcIndex) |
double |
getStateAccumValue(int arcIndex,
int dsIndex) |
int |
getStateNanSteps(int arcIndex,
int dsIndex) |
long |
getStep() |
int |
getSteps(int arcIndex) |
double[] |
getValues(int arcIndex,
int dsIndex) |
String |
getVersion() |
double |
getXff(int arcIndex) |
(package private) void |
release() |
close, getEstimatedSize
RrdToolReader(String rrdPath) throws IOException
IOException
public String getVersion()
getVersion
in class DataImporter
public long getLastUpdateTime()
getLastUpdateTime
in class DataImporter
public long getStep()
getStep
in class DataImporter
public int getDsCount()
getDsCount
in class DataImporter
public int getArcCount() throws IOException
getArcCount
in class DataImporter
IOException
public String getDsName(int dsIndex)
getDsName
in class DataImporter
public DsType getDsType(int dsIndex) throws IOException
getDsType
in class DataImporter
IOException
public long getHeartbeat(int dsIndex)
getHeartbeat
in class DataImporter
public double getMinValue(int dsIndex)
getMinValue
in class DataImporter
public double getMaxValue(int dsIndex)
getMaxValue
in class DataImporter
public double getLastValue(int dsIndex)
getLastValue
in class DataImporter
public double getAccumValue(int dsIndex)
getAccumValue
in class DataImporter
public long getNanSeconds(int dsIndex)
getNanSeconds
in class DataImporter
public ConsolFun getConsolFun(int arcIndex)
getConsolFun
in class DataImporter
public double getXff(int arcIndex)
getXff
in class DataImporter
public int getSteps(int arcIndex)
getSteps
in class DataImporter
public int getRows(int arcIndex) throws IOException
getRows
in class DataImporter
IOException
public double getStateAccumValue(int arcIndex, int dsIndex) throws IOException
getStateAccumValue
in class DataImporter
IOException
public int getStateNanSteps(int arcIndex, int dsIndex) throws IOException
getStateNanSteps
in class DataImporter
IOException
public double[] getValues(int arcIndex, int dsIndex) throws IOException
getValues
in class DataImporter
IOException
void release() throws IOException
release
in class DataImporter
IOException