Package kieker.common.record.io
Interface IValueSerializer
- All Known Implementing Classes:
BinaryValueSerializer,CassandraValueSerializer,TextValueSerializer
public interface IValueSerializer
Interface for value serializers for use by monitoring records.
- Since:
- 1.13
- Author:
- Holger Knoche, Reiner Jung - added enumeration support
-
Method Summary
Modifier and Type Method Description voidputBoolean(boolean value)Stores abooleanvalue in the underlying data store.voidputByte(byte value)Stores abytevalue in the underlying data store.voidputBytes(byte[] value)Stores raw data in the underlying data store.voidputChar(char value)Stores acharvalue in the underlying data store.voidputDouble(double value)Stores adoublevalue in the underlying data store.<T extends java.lang.Enum<T>>
voidputEnumeration(T value)Stores aEnumerationvalue in the underlying data store.voidputFloat(float value)Stores afloatvalue in the underlying data store.voidputInt(int value)Stores anintvalue in the underlying data store.voidputLong(long value)Stores alongvalue in the underlying data store.voidputShort(short value)Stores ashortvalue in the underlying data store.voidputString(java.lang.String value)Stores aStringvalue in the underlying data store.
-
Method Details
-
putBoolean
void putBoolean(boolean value)Stores abooleanvalue in the underlying data store.- Parameters:
value- The value to store- Since:
- 1.13
-
putByte
void putByte(byte value)Stores abytevalue in the underlying data store.- Parameters:
value- The value to store- Since:
- 1.13
-
putChar
void putChar(char value)Stores acharvalue in the underlying data store.- Parameters:
value- The value to store- Since:
- 1.13
-
putShort
void putShort(short value)Stores ashortvalue in the underlying data store.- Parameters:
value- The value to store- Since:
- 1.13
-
putInt
void putInt(int value)Stores anintvalue in the underlying data store.- Parameters:
value- The value to store- Since:
- 1.13
-
putLong
void putLong(long value)Stores alongvalue in the underlying data store.- Parameters:
value- The value to store- Since:
- 1.13
-
putFloat
void putFloat(float value)Stores afloatvalue in the underlying data store.- Parameters:
value- The value to store- Since:
- 1.13
-
putDouble
void putDouble(double value)Stores adoublevalue in the underlying data store.- Parameters:
value- The value to store- Since:
- 1.13
-
putEnumeration
<T extends java.lang.Enum<T>> void putEnumeration(T value)Stores aEnumerationvalue in the underlying data store.- Type Parameters:
T- enumeration type- Parameters:
value- The value to store- Since:
- 1.14
-
putBytes
void putBytes(byte[] value)Stores raw data in the underlying data store.- Parameters:
value- The data to store- Since:
- 1.13
-
putString
void putString(java.lang.String value)Stores aStringvalue in the underlying data store.- Parameters:
value- The value to store- Since:
- 1.13
-