org.jrobin.core
public class Header extends Object implements RrdUpdater
Normally, you don't need to manipulate the Header object directly - JRobin framework does it for you.
Method Summary | |
---|---|
void | copyStateTo(RrdUpdater other)
Copies object's internal state to another Header object.
|
int | getArcCount()
Returns the number of archives defined in the RRD.
|
int | getDsCount()
Returns the number of datasources defined in the RRD.
|
String | 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.
|
void | setInfo(String info) |
Parameters: other New Header object to copy state to
Throws: IOException Thrown in case of I/O error RrdException Thrown if supplied argument is not a Header object
Returns: Number of archives defined
Throws: IOException Thrown in case of I/O error
Returns: Number of datasources defined
Throws: IOException Thrown in case of I/O error
Returns: Timestamp (Unix epoch, no milliseconds) corresponding to the last update time.
Throws: IOException Thrown in case of I/O error
Returns: Allocator object
Returns: I/O backend object
Returns: RRD signature
Throws: IOException Thrown in case of I/O error
Returns: Primary time step in seconds
Throws: IOException Thrown in case of I/O error