|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrobin.core.ArcState
Class to represent internal RRD archive state for a single datasource. Objects of this class are never manipulated directly, it's up to JRobin framework to manage internal arcihve states.
| Method Summary | |
void |
copyStateTo(org.jrobin.core.RrdUpdater other)
Copies object's internal state to another ArcState object. |
double |
getAccumValue()
Returns the value accumulated so far. |
long |
getNanSteps()
Returns the number of currently accumulated NaN steps. |
Archive |
getParent()
Returns the Archive object to which this ArcState object belongs. |
org.jrobin.core.RrdAllocator |
getRrdAllocator()
Required to implement RrdUpdater interface. |
RrdBackend |
getRrdBackend()
Returns the underlying storage (backend) object which actually performs all I/O operations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public long getNanSteps()
throws java.io.IOException
java.io.IOException - Thrown in case of I/O error
public double getAccumValue()
throws java.io.IOException
java.io.IOException - Thrown in case of I/O errorpublic Archive getParent()
public void copyStateTo(org.jrobin.core.RrdUpdater other)
throws java.io.IOException,
RrdException
copyStateTo in interface org.jrobin.core.RrdUpdaterother - New ArcState object to copy state to
java.io.IOException - Thrown in case of I/O error
RrdException - Thrown if supplied argument is not an ArcState objectpublic RrdBackend getRrdBackend()
getRrdBackend in interface org.jrobin.core.RrdUpdaterpublic org.jrobin.core.RrdAllocator getRrdAllocator()
getRrdAllocator in interface org.jrobin.core.RrdUpdater
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||