java.lang.Object | ||
↳ | org.rrd4j.core.RrdBackend | |
↳ | org.rrd4j.core.RrdByteArrayBackend |
![]() |
Abstract byte array based backend.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is required by the base class definition, but it does not
releases any memory resources at all.
| |||||||||||
Returns the number of RRD bytes held in memory.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is overriden to disable high-level caching in frontend RRD4J classes.
| |||||||||||
Reads an array of bytes from the underlying storage starting from the given
storage offset.
| |||||||||||
Reserves a memory section as a RRD storage.
| |||||||||||
Writes an array of bytes to the underlying storage starting from the given
storage offset.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
This method is required by the base class definition, but it does not releases any memory resources at all.
IOException |
---|
Returns the number of RRD bytes held in memory.
This method is overriden to disable high-level caching in frontend RRD4J classes.
false
. There is no need to cache anything in high-level classes
since all RRD bytes are already in memory.
Reads an array of bytes from the underlying storage starting from the given storage offset.
offset | Storage offset. |
---|---|
bytes | Array which receives bytes from the underlying storage |
IOException |
---|
Reserves a memory section as a RRD storage.
length | Number of bytes held in memory. |
---|
IOException | Thrown in case of I/O error. |
---|
Writes an array of bytes to the underlying storage starting from the given storage offset.
offset | Storage offset. |
---|---|
bytes | Array of bytes that should be copied to the underlying storage |
IOException |
---|