U - The type of RrdUpdater this primitive belongs toclass RrdLong<U extends RrdUpdater<U>> extends RrdPrimitive<U>
This class provides methods to store and retrieve long integer 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 |
|---|
RrdLong(RrdUpdater<U> updater) |
RrdLong(RrdUpdater<U> updater,
boolean isConstant) |
| Modifier and Type | Method and Description |
|---|---|
(package private) long |
get()
Gets the long value.
|
(package private) void |
set(long value)
Sets the long value.
|
isCachingAllowed, readBytes, readDouble, readDouble, readDouble, readEnum, readInt, readLong, readString, writeBytes, writeDouble, writeDouble, writeDouble, writeDouble, writeEnum, writeInt, writeLong, writeStringRrdLong(RrdUpdater<U> updater)
RrdLong(RrdUpdater<U> updater, boolean isConstant)
long get() throws IOException
IOException - if an I/O error occursvoid set(long value) throws IOException
value - the long value to setIOException - if an I/O error occurs