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) AggregatesgetAggregates(long tStart, long tEnd)(package private) longgetArchiveEndTime()(package private) StringgetBackend()(package private) StringgetCanonicalPath()(package private) StringgetConsolFun()(package private) StringgetDsName()(package private) longgetFetchStep()(package private) StringgetPath()(package private) doublegetPercentile(long tStart, long tEnd, double percentile)(package private) long[]getRrdTimestamps()(package private) double[]getRrdValues()(package private) booleanisCompatibleWith(Def def)(package private) booleanisLoaded()(package private) voidsetFetchData(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:
getAggregatesin classSource- Throws:
RrdException
-
getPercentile
double getPercentile(long tStart, long tEnd, double percentile) throws RrdException- Overrides:
getPercentilein classSource- Throws:
RrdException
-
isLoaded
boolean isLoaded()
-
-