Package org.rrd4j.core
Class RrdToolReader
java.lang.Object
org.rrd4j.core.DataImporter
org.rrd4j.core.RrdToolReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getAccumValue
(int dsIndex) int
getConsolFun
(int arcIndex) int
getDsName
(int dsIndex) getDsType
(int dsIndex) long
getHeartbeat
(int dsIndex) long
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) double
getXff
(int arcIndex) (package private) void
release()
Methods inherited from class org.rrd4j.core.DataImporter
close, getEstimatedSize
-
Constructor Details
-
RrdToolReader
RrdToolReader(String rrdPath) throws IOException - Throws:
IOException
-
-
Method Details
-
getVersion
- Specified by:
getVersion
in classDataImporter
-
getLastUpdateTime
public long getLastUpdateTime()- Specified by:
getLastUpdateTime
in classDataImporter
-
getStep
public long getStep()- Specified by:
getStep
in classDataImporter
-
getDsCount
public int getDsCount()- Specified by:
getDsCount
in classDataImporter
-
getArcCount
- Specified by:
getArcCount
in classDataImporter
- Throws:
IOException
-
getDsName
- Specified by:
getDsName
in classDataImporter
-
getDsType
- Specified by:
getDsType
in classDataImporter
- Throws:
IOException
-
getHeartbeat
public long getHeartbeat(int dsIndex) - Specified by:
getHeartbeat
in classDataImporter
-
getMinValue
public double getMinValue(int dsIndex) - Specified by:
getMinValue
in classDataImporter
-
getMaxValue
public double getMaxValue(int dsIndex) - Specified by:
getMaxValue
in classDataImporter
-
getLastValue
public double getLastValue(int dsIndex) - Specified by:
getLastValue
in classDataImporter
-
getAccumValue
public double getAccumValue(int dsIndex) - Specified by:
getAccumValue
in classDataImporter
-
getNanSeconds
public long getNanSeconds(int dsIndex) - Specified by:
getNanSeconds
in classDataImporter
-
getConsolFun
- Specified by:
getConsolFun
in classDataImporter
-
getXff
public double getXff(int arcIndex) - Specified by:
getXff
in classDataImporter
-
getSteps
public int getSteps(int arcIndex) - Specified by:
getSteps
in classDataImporter
-
getRows
- Specified by:
getRows
in classDataImporter
- Throws:
IOException
-
getStateAccumValue
- Specified by:
getStateAccumValue
in classDataImporter
- Throws:
IOException
-
getStateNanSteps
- Specified by:
getStateNanSteps
in classDataImporter
- Throws:
IOException
-
getValues
- Specified by:
getValues
in classDataImporter
- Throws:
IOException
-
release
- Overrides:
release
in classDataImporter
- Throws:
IOException
-