Package org.rrd4j.core
Class DataImporter
java.lang.Object
org.rrd4j.core.DataImporter
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
RrdToolReader
,XmlReader
An abstract class to import data from external source.
- Since:
- 3.5
- Author:
- Fabrice Bacchella
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
abstract double
getAccumValue
(int dsIndex) abstract int
abstract ConsolFun
getConsolFun
(int arcIndex) abstract int
abstract String
getDsName
(int dsIndex) abstract DsType
getDsType
(int dsIndex) protected long
abstract long
getHeartbeat
(int dsIndex) abstract long
abstract double
getLastValue
(int dsIndex) abstract double
getMaxValue
(int dsIndex) abstract double
getMinValue
(int dsIndex) abstract long
getNanSeconds
(int dsIndex) abstract int
getRows
(int arcIndex) abstract double
getStateAccumValue
(int arcIndex, int dsIndex) abstract int
getStateNanSteps
(int arcIndex, int dsIndex) abstract long
getStep()
abstract int
getSteps
(int arcIndex) abstract double[]
getValues
(int arcIndex, int dsIndex) abstract String
abstract double
getXff
(int arcIndex) (package private) void
release()
-
Constructor Details
-
DataImporter
public DataImporter()
-
-
Method Details
-
getVersion
- Throws:
IOException
-
getLastUpdateTime
- Throws:
IOException
-
getStep
- Throws:
IOException
-
getDsCount
- Throws:
IOException
-
getArcCount
- Throws:
IOException
-
getDsName
- Throws:
IOException
-
getDsType
- Throws:
IOException
-
getHeartbeat
- Throws:
IOException
-
getMinValue
- Throws:
IOException
-
getMaxValue
- Throws:
IOException
-
getLastValue
- Throws:
IOException
-
getAccumValue
- Throws:
IOException
-
getNanSeconds
- Throws:
IOException
-
getConsolFun
- Throws:
IOException
-
getXff
- Throws:
IOException
-
getSteps
- Throws:
IOException
-
getRows
- Throws:
IOException
-
getStateAccumValue
- Throws:
IOException
-
getStateNanSteps
- Throws:
IOException
-
getValues
- Throws:
IOException
-
getEstimatedSize
- Throws:
IOException
-
release
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-