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