class RRDFile extends Object implements Constants
Currently this can read RRD files that were generated on Solaris (Sparc) and Linux (x86).
CF_NAM_SIZE, COOKIE, DS_NAM_SIZE, DST_SIZE, FLOAT_COOKIE, LAST_DS_LEN, MAX_SUPPORTED_VERSION, SIZE_OF_DOUBLE, UNDEFINED_VERSION, UNDEFINED_VERSION_AS_INT, VERSION_WITH_LAST_UPDATE_SEC| Constructor and Description |
|---|
RRDFile(File file)Open RRD file |
RRDFile(String name)Open RRD file |
| Modifier and Type | Method and Description |
|---|---|
(package private) int | align()Skip count. |
(package private) int | align(int boundary)Skip count. |
(package private) void | close()Close the file |
(package private) int | getAlignment()Alignment. |
(package private) int | getBits()Long size in bits for this file. |
(package private) long | getFilePointer()File pointer. |
(package private) UnivalArray | getUnivalArray(int size)Unival array. |
(package private) long | info()Position. |
(package private) boolean | isBigEndian()True if big endian. |
(package private) void | read(ByteBuffer bb)Read bytes |
(package private) double | readDouble()Double. |
(package private) int | readInt()Int. |
(package private) int | readLong()Long. |
(package private) String | readString(int maxLength)String. |
void | seek(long position)seek. |
void | seekToEndOfFile()seekToEndOfFile. |
(package private) void | skipBytes(int n)Skip bytes |
RRDFile(File file) throws IOException
IOExceptionRRDFile(String name) throws IOException
IOExceptionint align()
int align(int boundary)
void close()
throws IOExceptionIOExceptionint getAlignment()
int getBits()
long getFilePointer()
UnivalArray getUnivalArray(int size)
long info()
boolean isBigEndian()
void read(ByteBuffer bb)
double readDouble()
int readInt()
int readLong()
String readString(int maxLength)
public void seek(long position)
public void seekToEndOfFile()
void skipBytes(int n)