Package org.jrobin.data
Class Def
- java.lang.Object
-
- org.jrobin.data.Source
-
- org.jrobin.data.Def
-
- All Implemented Interfaces:
ConsolFuns
class Def extends Source
-
-
Field Summary
-
Fields inherited from class org.jrobin.data.Source
timestamps, values
-
Fields inherited from interface org.jrobin.core.ConsolFuns
CF_AVERAGE, CF_FIRST, CF_LAST, CF_MAX, CF_MIN, CF_TOTAL
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Aggregates
getAggregates(long tStart, long tEnd)
(package private) long
getArchiveEndTime()
(package private) String
getBackend()
(package private) String
getCanonicalPath()
(package private) String
getConsolFun()
(package private) String
getDsName()
(package private) long
getFetchStep()
(package private) String
getPath()
(package private) double
getPercentile(long tStart, long tEnd, double percentile)
(package private) long[]
getRrdTimestamps()
(package private) double[]
getRrdValues()
(package private) boolean
isCompatibleWith(Def def)
(package private) boolean
isLoaded()
(package private) void
setFetchData(FetchData fetchData)
-
Methods inherited from class org.jrobin.data.Source
getName, getPercentile, getTimestamps, getValues, setTimestamps, setValues
-
-
-
-
Method Detail
-
getPath
String getPath()
-
getCanonicalPath
String getCanonicalPath() throws IOException
- Throws:
IOException
-
getDsName
String getDsName()
-
getConsolFun
String getConsolFun()
-
getBackend
String getBackend()
-
isCompatibleWith
boolean isCompatibleWith(Def def) throws IOException
- Throws:
IOException
-
setFetchData
void setFetchData(FetchData fetchData)
-
getRrdTimestamps
long[] getRrdTimestamps()
-
getRrdValues
double[] getRrdValues() throws RrdException
- Throws:
RrdException
-
getArchiveEndTime
long getArchiveEndTime()
-
getFetchStep
long getFetchStep()
-
getAggregates
Aggregates getAggregates(long tStart, long tEnd) throws RrdException
- Overrides:
getAggregates
in classSource
- Throws:
RrdException
-
getPercentile
double getPercentile(long tStart, long tEnd, double percentile) throws RrdException
- Overrides:
getPercentile
in classSource
- Throws:
RrdException
-
isLoaded
boolean isLoaded()
-
-