Package org.rrd4j.core
Class RrdEnum<U extends RrdUpdater<U>,E extends Enum<E>>
- java.lang.Object
-
- org.rrd4j.core.RrdPrimitive<U>
-
- org.rrd4j.core.RrdEnum<U,E>
-
class RrdEnum<U extends RrdUpdater<U>,E extends Enum<E>> extends RrdPrimitive<U>
-
-
Field Summary
-
Fields inherited from class org.rrd4j.core.RrdPrimitive
RRD_DOUBLE, RRD_INT, RRD_LONG, RRD_PRIM_SIZES, RRD_STRING, STRING_LENGTH
-
-
Constructor Summary
Constructors Constructor Description RrdEnum(RrdUpdater<U> updater, boolean isConstant, Class<E> clazz)
RrdEnum(RrdUpdater<U> updater, Class<E> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) E
get()
(package private) String
name()
(package private) void
set(E value)
-
Methods inherited from class org.rrd4j.core.RrdPrimitive
isCachingAllowed, readBytes, readDouble, readDouble, readDouble, readEnum, readInt, readLong, readString, writeBytes, writeDouble, writeDouble, writeDouble, writeDouble, writeEnum, writeInt, writeLong, writeString
-
-
-
-
Constructor Detail
-
RrdEnum
RrdEnum(RrdUpdater<U> updater, boolean isConstant, Class<E> clazz) throws IOException
- Throws:
IOException
-
RrdEnum
RrdEnum(RrdUpdater<U> updater, Class<E> clazz) throws IOException
- Throws:
IOException
-
-
Method Detail
-
set
void set(E value) throws IOException
- Throws:
IOException
-
get
E get() throws IOException
- Throws:
IOException
-
name
String name() throws IOException
- Throws:
IOException
-
-