RrdUpdater
public class ArcState extends java.lang.Object implements RrdUpdater
修飾子とタイプ | メソッド | 説明 |
---|---|---|
(package private) void |
appendXml(XmlWriter writer) |
|
void |
copyStateTo(RrdUpdater other) |
Copies object's internal state to another ArcState object.
|
(package private) java.lang.String |
dump() |
|
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.
|
RrdAllocator |
getRrdAllocator() |
Required to implement RrdUpdater interface.
|
RrdBackend |
getRrdBackend() |
Returns the underlying storage (backend) object which actually performs all
I/O operations.
|
(package private) void |
setAccumValue(double value) |
|
(package private) void |
setNanSteps(long value) |
|
java.lang.String |
toString() |
ArcState(Archive parentArc, boolean shouldInitialize) throws java.io.IOException
java.io.IOException
java.lang.String dump() throws java.io.IOException
java.io.IOException
void setNanSteps(long value) throws java.io.IOException
java.io.IOException
public long getNanSteps() throws java.io.IOException
java.io.IOException
- Thrown in case of I/O errorvoid setAccumValue(double value) throws java.io.IOException
java.io.IOException
public double getAccumValue() throws java.io.IOException
java.io.IOException
- Thrown in case of I/O errorpublic Archive getParent()
void appendXml(XmlWriter writer) throws java.io.IOException
java.io.IOException
public void copyStateTo(RrdUpdater other) throws java.io.IOException, RrdException
copyStateTo
インタフェース内 RrdUpdater
other
- New ArcState object to copy state tojava.io.IOException
- Thrown in case of I/O errorRrdException
- Thrown if supplied argument is not an ArcState objectpublic RrdBackend getRrdBackend()
getRrdBackend
インタフェース内 RrdUpdater
public RrdAllocator getRrdAllocator()
getRrdAllocator
インタフェース内 RrdUpdater
public java.lang.String toString()
toString
クラス内 java.lang.Object