Package org.jrobin.core
Class RrdPrimitive
- java.lang.Object
-
- org.jrobin.core.RrdPrimitive
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
RRD_DOUBLE
(package private) static int
RRD_INT
(package private) static int
RRD_LONG
(package private) static int[]
RRD_PRIM_SIZES
(package private) static int
RRD_STRING
(package private) static int
STRING_LENGTH
-
Constructor Summary
Constructors Constructor Description RrdPrimitive(RrdUpdater updater, int type, boolean isConstant)
RrdPrimitive(RrdUpdater updater, int type, int count, boolean isConstant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isCachingAllowed()
(package private) byte[]
readBytes()
(package private) double
readDouble()
(package private) double
readDouble(int index)
(package private) double[]
readDouble(int index, int count)
(package private) int
readInt()
(package private) long
readLong()
(package private) String
readString()
(package private) void
writeBytes(byte[] b)
(package private) void
writeDouble(double value)
(package private) void
writeDouble(int index, double[] values)
(package private) void
writeDouble(int index, double value, int count)
(package private) void
writeInt(int value)
(package private) void
writeLong(long value)
(package private) void
writeString(String value)
-
-
-
Field Detail
-
STRING_LENGTH
static final int STRING_LENGTH
- See Also:
- Constant Field Values
-
RRD_INT
static final int RRD_INT
- See Also:
- Constant Field Values
-
RRD_LONG
static final int RRD_LONG
- See Also:
- Constant Field Values
-
RRD_DOUBLE
static final int RRD_DOUBLE
- See Also:
- Constant Field Values
-
RRD_STRING
static final int RRD_STRING
- See Also:
- Constant Field Values
-
RRD_PRIM_SIZES
static final int[] RRD_PRIM_SIZES
-
-
Constructor Detail
-
RrdPrimitive
RrdPrimitive(RrdUpdater updater, int type, boolean isConstant) throws IOException
- Throws:
IOException
-
RrdPrimitive
RrdPrimitive(RrdUpdater updater, int type, int count, boolean isConstant) throws IOException
- Throws:
IOException
-
-
Method Detail
-
readBytes
final byte[] readBytes() throws IOException
- Throws:
IOException
-
writeBytes
final void writeBytes(byte[] b) throws IOException
- Throws:
IOException
-
readInt
final int readInt() throws IOException
- Throws:
IOException
-
writeInt
final void writeInt(int value) throws IOException
- Throws:
IOException
-
readLong
final long readLong() throws IOException
- Throws:
IOException
-
writeLong
final void writeLong(long value) throws IOException
- Throws:
IOException
-
readDouble
final double readDouble() throws IOException
- Throws:
IOException
-
readDouble
final double readDouble(int index) throws IOException
- Throws:
IOException
-
readDouble
final double[] readDouble(int index, int count) throws IOException
- Throws:
IOException
-
writeDouble
final void writeDouble(double value) throws IOException
- Throws:
IOException
-
writeDouble
final void writeDouble(int index, double value, int count) throws IOException
- Throws:
IOException
-
writeDouble
final void writeDouble(int index, double[] values) throws IOException
- Throws:
IOException
-
readString
final String readString() throws IOException
- Throws:
IOException
-
writeString
final void writeString(String value) throws IOException
- Throws:
IOException
-
isCachingAllowed
final boolean isCachingAllowed()
-
-