U - the updater typeclass RrdDouble<U extends RrdUpdater<U>> extends RrdPrimitive<U>
RRD_DOUBLE, RRD_INT, RRD_LONG, RRD_PRIM_SIZES, RRD_STRING, STRING_LENGTH| Constructor and Description |
|---|
RrdDouble(RrdUpdater<U> updater)
Creates a new RRD double primitive.
|
RrdDouble(RrdUpdater<U> updater,
boolean isConstant)
Creates a new RRD double primitive.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) double |
get()
Gets the double value.
|
(package private) void |
set(double value)
Sets the double value.
|
isCachingAllowed, readBytes, readDouble, readDouble, readDouble, readEnum, readInt, readLong, readString, writeBytes, writeDouble, writeDouble, writeDouble, writeDouble, writeEnum, writeInt, writeLong, writeStringRrdDouble(RrdUpdater<U> updater)
updater - the updaterRrdDouble(RrdUpdater<U> updater, boolean isConstant)
updater - the updaterisConstant - whether this is a constant valuedouble get()
throws IOException
IOException - if an I/O error occursvoid set(double value) throws IOException
value - the value to setIOException - if an I/O error occurs