Package kieker.common.record.flow.trace
Class BeforeReceivedRemoteEventFactory
java.lang.Object
kieker.common.record.flow.trace.BeforeReceivedRemoteEventFactory
- All Implemented Interfaces:
IRecordFactory<BeforeReceivedRemoteEvent>
public final class BeforeReceivedRemoteEventFactory extends java.lang.Object implements IRecordFactory<BeforeReceivedRemoteEvent>
- Since:
- 1.14
- Author:
- Felix Eichhorst
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BeforeReceivedRemoteEventFactory() -
Method Summary
Modifier and Type Method Description BeforeReceivedRemoteEventcreate(IValueDeserializer deserializer)Create a record of type T utilizing a @{linkIValueDeserializer.intgetRecordSizeInBytes()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.
-
Constructor Details
-
BeforeReceivedRemoteEventFactory
public BeforeReceivedRemoteEventFactory()
-
-
Method Details
-
create
public BeforeReceivedRemoteEvent create(IValueDeserializer deserializer) throws RecordInstantiationExceptionDescription copied from interface:IRecordFactoryCreate a record of type T utilizing a @{linkIValueDeserializer.- Specified by:
createin interfaceIRecordFactory<BeforeReceivedRemoteEvent>- Parameters:
deserializer- The deserializer to use for decoding the values- Returns:
- a new instance of the declared record type
- Throws:
RecordInstantiationException- on issues deserializing records, e.g., during enumeration deserialization
-
getValueNames
public java.lang.String[] getValueNames()Description copied from interface:IRecordFactoryprovide an array of all value names of an event type in definition order.- Specified by:
getValueNamesin interfaceIRecordFactory<BeforeReceivedRemoteEvent>- Returns:
- returns an array of value names
-
getValueTypes
public java.lang.Class<?>[] getValueTypes()Description copied from interface:IRecordFactoryprovide an array of all value types of an event type in definition order.- Specified by:
getValueTypesin interfaceIRecordFactory<BeforeReceivedRemoteEvent>- Returns:
- returns an array of value types
-
getRecordSizeInBytes
public int getRecordSizeInBytes()- Specified by:
getRecordSizeInBytesin interfaceIRecordFactory<BeforeReceivedRemoteEvent>- Returns:
- the size (in bytes) of the record in the serialized form, or a negative value represented by the constant
IRecordFactory.UNKNOWN_RECORD_SIZEif the size is unknown in advance.
-