public class Header extends Object
Normally, you don't need to manipulate the Header object directly - Rrd4j framework does it for you.
Modifier and Type | Method and Description |
---|---|
void |
copyStateTo(org.rrd4j.core.RrdUpdater other)
copyStateTo.
|
int |
getArcCount()
Returns the number of archives defined in the RRD.
|
int |
getDsCount()
Returns the number of datasources defined in the RRD.
|
String |
getInfo()
getInfo.
|
long |
getLastUpdateTime()
Returns the last update time of the RRD.
|
RrdAllocator |
getRrdAllocator()
Required to implement RrdUpdater interface.
|
RrdBackend |
getRrdBackend()
Returns the underlying storage (backend) object which actually performs all
I/O operations.
|
String |
getSignature()
Returns RRD signature.
|
long |
getStep()
Returns primary RRD time step.
|
int |
getVersion()
Return the RRD version.
|
void |
setInfo(String info)
setInfo.
|
public String getSignature() throws IOException
IOException
- Thrown in case of I/O errorpublic String getInfo() throws IOException
getInfo.
String
object.IOException
- if any.public void setInfo(String info) throws IOException
setInfo.
info
- a String
object.IOException
- if any.public long getLastUpdateTime() throws IOException
IOException
- Thrown in case of I/O errorpublic long getStep() throws IOException
IOException
- Thrown in case of I/O errorpublic int getDsCount() throws IOException
IOException
- Thrown in case of I/O errorpublic int getArcCount() throws IOException
IOException
- Thrown in case of I/O errorpublic void copyStateTo(org.rrd4j.core.RrdUpdater other) throws IOException
copyStateTo.
Copies object's internal state to another Header object.other
- a RrdUpdater
object.IOException
- if any.public RrdBackend getRrdBackend()
public int getVersion() throws IOException
IOException
- if any.public RrdAllocator getRrdAllocator()
Copyright © 2015. All rights reserved.