public class RrdMemoryBackend extends ByteBufferBackend
BYTEORDER
Modifier | Constructor and Description |
---|---|
protected |
RrdMemoryBackend(String path)
Constructor for RrdMemoryBackend.
|
Modifier and Type | Method and Description |
---|---|
protected void |
close()
This method is required by the base class definition, but it does not
releases any memory resources at all.
|
long |
getLength()
Returns the number of RRD bytes in the underlying storage.
|
protected void |
setLength(long length)
Sets the number of bytes in the underlying RRD storage.
|
getCharBuffer, isDirty, read, readDouble, readDouble, readInt, readLong, readShort, rrdClose, setByteBuffer, write, writeDouble, writeDouble, writeDouble, writeInt, writeLong, writeShort, writeString
done, getFactory, getPath, getUri, isCachingAllowed, isInstanceCreated, readAll, readString, writeString
protected void setLength(long length) throws IOException
RrdBackend
setLength
in class RrdBackend
length
- Length of the underlying RRD storage in bytes.IOException
- Thrown in case of I/O error.public long getLength() throws IOException
RrdBackend
getLength
in class RrdBackend
IOException
- Thrown in case of I/O error.protected void close() throws IOException
close
in class ByteBufferBackend
IOException
- if any.