U - The type of RrdUpdater this primitive belongs toclass RrdDoubleArray<U extends RrdUpdater<U>> extends RrdPrimitive<U>
This class provides methods to store and retrieve arrays of double values in RRD files. It extends RrdPrimitive to handle the low-level storage operations while providing array-specific access methods.
RRD_DOUBLE, RRD_INT, RRD_LONG, RRD_PRIM_SIZES, RRD_STRING, STRING_LENGTH| Constructor and Description |
|---|
RrdDoubleArray(RrdUpdater<U> updater,
int length) |
| Modifier and Type | Method and Description |
|---|---|
(package private) double |
get(int index)
Gets a double value at the specified index.
|
(package private) double[] |
get(int index,
int count) |
(package private) void |
set(int index,
double value)
Sets a double value at the specified index.
|
(package private) void |
set(int index,
double value,
int count) |
isCachingAllowed, readBytes, readDouble, readDouble, readDouble, readEnum, readInt, readLong, readString, writeBytes, writeDouble, writeDouble, writeDouble, writeDouble, writeEnum, writeInt, writeLong, writeStringRrdDoubleArray(RrdUpdater<U> updater, int length)
double get(int index)
throws IOException
index - the index in the arrayIOException - if an I/O error occursdouble[] get(int index,
int count)
throws IOException
IOExceptionvoid set(int index,
double value)
throws IOException
index - the index in the arrayvalue - the double value to setIOException - if an I/O error occursvoid set(int index,
double value,
int count)
throws IOException
IOException