|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rrd4j.core.ArcState
public class ArcState
Class to represent internal RRD archive state for a single datasource. Objects of this class are never manipulated directly, it's up to Rrd4j to manage internal archive states.
Method Summary | |
---|---|
void |
copyStateTo(org.rrd4j.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.rrd4j.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 IOException
IOException
- Thrown in case of I/O errorpublic double getAccumValue() throws IOException
IOException
- Thrown in case of I/O errorpublic Archive getParent()
public void copyStateTo(org.rrd4j.core.RrdUpdater other) throws IOException
other
- New ArcState object to copy state to
IOException
- Thrown in case of I/O errorpublic RrdBackend getRrdBackend()
public org.rrd4j.core.RrdAllocator getRrdAllocator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |