public class DefaultValueSerializer extends java.lang.Object implements IValueSerializer
Modifier | Constructor and Description |
---|---|
protected |
DefaultValueSerializer(java.nio.ByteBuffer buffer,
IRegistry<java.lang.String> stringRegistry) |
Modifier and Type | Method and Description |
---|---|
static DefaultValueSerializer |
create(java.nio.ByteBuffer buffer,
IRegistry<java.lang.String> stringRegistry) |
void |
putBoolean(boolean value)
Stores a
boolean value in the underlying data store. |
void |
putByte(byte value)
Stores a
byte value in the underlying data store. |
void |
putBytes(byte[] value)
Stores raw data in the underlying data store.
|
void |
putChar(char value)
Stores a
char value in the underlying data store. |
void |
putDouble(double value)
Stores a
double value in the underlying data store. |
void |
putFloat(float value)
Stores a
float value in the underlying data store. |
void |
putInt(int value)
Stores an
int value in the underlying data store. |
void |
putLong(long value)
Stores a
long value in the underlying data store. |
void |
putShort(short value)
Stores a
short value in the underlying data store. |
void |
putString(java.lang.String value)
Stores a
String value in the underlying data store. |
protected DefaultValueSerializer(java.nio.ByteBuffer buffer, IRegistry<java.lang.String> stringRegistry)
public static DefaultValueSerializer create(java.nio.ByteBuffer buffer, IRegistry<java.lang.String> stringRegistry)
public void putBoolean(boolean value)
IValueSerializer
boolean
value in the underlying data store.putBoolean
in interface IValueSerializer
value
- The value to storepublic void putByte(byte value)
IValueSerializer
byte
value in the underlying data store.putByte
in interface IValueSerializer
value
- The value to storepublic void putInt(int value)
IValueSerializer
int
value in the underlying data store.putInt
in interface IValueSerializer
value
- The value to storepublic void putLong(long value)
IValueSerializer
long
value in the underlying data store.putLong
in interface IValueSerializer
value
- The value to storepublic void putDouble(double value)
IValueSerializer
double
value in the underlying data store.putDouble
in interface IValueSerializer
value
- The value to storepublic void putBytes(byte[] value)
IValueSerializer
putBytes
in interface IValueSerializer
value
- The data to storepublic void putString(java.lang.String value)
IValueSerializer
String
value in the underlying data store.putString
in interface IValueSerializer
value
- The value to storepublic void putChar(char value)
IValueSerializer
char
value in the underlying data store.putChar
in interface IValueSerializer
value
- The value to storepublic void putShort(short value)
IValueSerializer
short
value in the underlying data store.putShort
in interface IValueSerializer
value
- The value to storepublic void putFloat(float value)
IValueSerializer
float
value in the underlying data store.putFloat
in interface IValueSerializer
value
- The value to storeCopyright 2017 Kieker Project, http://kieker-monitoring.net