T
- the record type to used for creating new record instancespublic interface IRecordFactory<T>
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_RECORD_SIZE
Represents the size of a record whose size is unknown in advance.
|
Modifier and Type | Method and Description |
---|---|
T |
create(IValueDeserializer deserializer)
Create a record of type T utilizing a @{link
IValueDeserializer . |
int |
getRecordSizeInBytes() |
java.lang.String[] |
getValueNames()
provide an array of all value names of an event type in definition order.
|
java.lang.Class<?>[] |
getValueTypes()
provide an array of all value types of an event type in definition order.
|
static final int UNKNOWN_RECORD_SIZE
T create(IValueDeserializer deserializer) throws RecordInstantiationException
IValueDeserializer
.deserializer
- The deserializer to use for decoding the valuesRecordInstantiationException
- on issues deserializing records, e.g., during enumeration deserializationjava.lang.String[] getValueNames()
java.lang.Class<?>[] getValueTypes()
int getRecordSizeInBytes()
UNKNOWN_RECORD_SIZE
if the
size is unknown
in advance.Copyright 2020 Kieker Project, http://kieker-monitoring.net