Package org.jrobin.core
Class DataImporter
- java.lang.Object
-
- org.jrobin.core.DataImporter
-
- Direct Known Subclasses:
RrdToolReader
,XmlReader
abstract class DataImporter extends Object
-
-
Constructor Summary
Constructors Constructor Description DataImporter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract double
getAccumValue(int dsIndex)
(package private) abstract int
getArcCount()
(package private) abstract String
getConsolFun(int arcIndex)
(package private) abstract int
getDsCount()
(package private) abstract String
getDsName(int dsIndex)
(package private) abstract String
getDsType(int dsIndex)
(package private) long
getEstimatedSize()
(package private) abstract long
getHeartbeat(int dsIndex)
(package private) abstract long
getLastUpdateTime()
(package private) abstract double
getLastValue(int dsIndex)
(package private) abstract double
getMaxValue(int dsIndex)
(package private) abstract double
getMinValue(int dsIndex)
(package private) abstract long
getNanSeconds(int dsIndex)
(package private) abstract int
getRows(int arcIndex)
(package private) abstract double
getStateAccumValue(int arcIndex, int dsIndex)
(package private) abstract int
getStateNanSteps(int arcIndex, int dsIndex)
(package private) abstract long
getStep()
(package private) abstract int
getSteps(int arcIndex)
(package private) abstract double[]
getValues(int arcIndex, int dsIndex)
(package private) abstract String
getVersion()
(package private) abstract double
getXff(int arcIndex)
(package private) void
release()
-
-
-
Method Detail
-
getVersion
abstract String getVersion() throws RrdException, IOException
- Throws:
RrdException
IOException
-
getLastUpdateTime
abstract long getLastUpdateTime() throws RrdException, IOException
- Throws:
RrdException
IOException
-
getStep
abstract long getStep() throws RrdException, IOException
- Throws:
RrdException
IOException
-
getDsCount
abstract int getDsCount() throws RrdException, IOException
- Throws:
RrdException
IOException
-
getArcCount
abstract int getArcCount() throws RrdException, IOException
- Throws:
RrdException
IOException
-
getDsName
abstract String getDsName(int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getDsType
abstract String getDsType(int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getHeartbeat
abstract long getHeartbeat(int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getMinValue
abstract double getMinValue(int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getMaxValue
abstract double getMaxValue(int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getLastValue
abstract double getLastValue(int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getAccumValue
abstract double getAccumValue(int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getNanSeconds
abstract long getNanSeconds(int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getConsolFun
abstract String getConsolFun(int arcIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getXff
abstract double getXff(int arcIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getSteps
abstract int getSteps(int arcIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getRows
abstract int getRows(int arcIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getStateAccumValue
abstract double getStateAccumValue(int arcIndex, int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getStateNanSteps
abstract int getStateNanSteps(int arcIndex, int dsIndex) throws RrdException, IOException
- Throws:
RrdException
IOException
-
getValues
abstract double[] getValues(int arcIndex, int dsIndex) throws RrdException, IOException, RrdException
- Throws:
RrdException
IOException
-
getEstimatedSize
long getEstimatedSize() throws RrdException, IOException
- Throws:
RrdException
IOException
-
release
void release() throws RrdException, IOException
- Throws:
RrdException
IOException
-
-