public class RrdMemoryBackend extends ByteBufferBackend
BYTEORDER
Modifier | Constructor and Description |
---|---|
protected |
RrdMemoryBackend(String path,
AtomicReference<ByteBuffer> refbb)
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 RrdMemoryBackend(String path, AtomicReference<ByteBuffer> refbb)
Constructor for RrdMemoryBackend.
path
- a String
object.refbb
- protected void setLength(long length)
RrdBackend
setLength
in class RrdBackend
length
- Length of the underlying RRD storage in bytes.public long getLength()
RrdBackend
getLength
in class RrdBackend
protected void close()
close
in class ByteBufferBackend