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 void
putBoolean(boolean value)
Stores aboolean
value in the underlying data store.void
putByte(byte value)
Stores abyte
value in the underlying data store.void
putBytes(byte[] value)
Stores raw data in the underlying data store.void
putChar(char value)
Stores achar
value in the underlying data store.void
putDouble(double value)
Stores adouble
value in the underlying data store.<T extends java.lang.Enum<T>>
voidputEnumeration(T value)
Stores aEnumeration
value in the underlying data store.void
putFloat(float value)
Stores afloat
value in the underlying data store.void
putInt(int value)
Stores anint
value in the underlying data store.void
putLong(long value)
Stores along
value in the underlying data store.void
putShort(short value)
Stores ashort
value in the underlying data store.void
putString(java.lang.String value)
Stores aString
value in the underlying data store.
-
Method Details
-
putBoolean
void putBoolean(boolean value)Stores aboolean
value in the underlying data store.- Parameters:
value
- The value to store- Since:
- 1.13
-
putByte
void putByte(byte value)Stores abyte
value in the underlying data store.- Parameters:
value
- The value to store- Since:
- 1.13
-
putChar
void putChar(char value)Stores achar
value in the underlying data store.- Parameters:
value
- The value to store- Since:
- 1.13
-
putShort
void putShort(short value)Stores ashort
value in the underlying data store.- Parameters:
value
- The value to store- Since:
- 1.13
-
putInt
void putInt(int value)Stores anint
value in the underlying data store.- Parameters:
value
- The value to store- Since:
- 1.13
-
putLong
void putLong(long value)Stores along
value in the underlying data store.- Parameters:
value
- The value to store- Since:
- 1.13
-
putFloat
void putFloat(float value)Stores afloat
value in the underlying data store.- Parameters:
value
- The value to store- Since:
- 1.13
-
putDouble
void putDouble(double value)Stores adouble
value 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 aEnumeration
value 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 aString
value in the underlying data store.- Parameters:
value
- The value to store- Since:
- 1.13
-