U - The type of RrdUpdater this primitive belongs toclass RrdString<U extends RrdUpdater<U>> extends RrdPrimitive<U>
This class provides methods to store and retrieve string values in RRD files. It includes caching support for performance optimization when the backend allows it.
RRD_DOUBLE, RRD_INT, RRD_LONG, RRD_PRIM_SIZES, RRD_STRING, STRING_LENGTH| Constructor and Description |
|---|
RrdString(RrdUpdater<U> updater) |
RrdString(RrdUpdater<U> updater,
boolean isConstant) |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
get()
Gets the string value.
|
(package private) void |
set(String value)
Sets the string value.
|
isCachingAllowed, readBytes, readDouble, readDouble, readDouble, readEnum, readInt, readLong, readString, writeBytes, writeDouble, writeDouble, writeDouble, writeDouble, writeEnum, writeInt, writeLong, writeStringRrdString(RrdUpdater<U> updater)
RrdString(RrdUpdater<U> updater, boolean isConstant)
String get() throws IOException
IOException - if an I/O error occursvoid set(String value) throws IOException
value - the string value to setIOException - if an I/O error occurs