Class BeforeOperationObjectInterfaceEventFactory
java.lang.Object
kieker.common.record.flow.trace.operation.object.BeforeOperationObjectInterfaceEventFactory
- All Implemented Interfaces:
IRecordFactory<BeforeOperationObjectInterfaceEvent>
public final class BeforeOperationObjectInterfaceEventFactory extends java.lang.Object implements IRecordFactory<BeforeOperationObjectInterfaceEvent>
- Since:
- 1.10
- Author:
- Florian Fittkau
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BeforeOperationObjectInterfaceEventFactory()
-
Method Summary
Modifier and Type Method Description BeforeOperationObjectInterfaceEvent
create(IValueDeserializer deserializer)
Create a record of type T utilizing a @{linkIValueDeserializer
.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.
-
Constructor Details
-
BeforeOperationObjectInterfaceEventFactory
public BeforeOperationObjectInterfaceEventFactory()
-
-
Method Details
-
create
public BeforeOperationObjectInterfaceEvent create(IValueDeserializer deserializer) throws RecordInstantiationExceptionDescription copied from interface:IRecordFactory
Create a record of type T utilizing a @{linkIValueDeserializer
.- Specified by:
create
in interfaceIRecordFactory<BeforeOperationObjectInterfaceEvent>
- 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:IRecordFactory
provide an array of all value names of an event type in definition order.- Specified by:
getValueNames
in interfaceIRecordFactory<BeforeOperationObjectInterfaceEvent>
- Returns:
- returns an array of value names
-
getValueTypes
public java.lang.Class<?>[] getValueTypes()Description copied from interface:IRecordFactory
provide an array of all value types of an event type in definition order.- Specified by:
getValueTypes
in interfaceIRecordFactory<BeforeOperationObjectInterfaceEvent>
- Returns:
- returns an array of value types
-
getRecordSizeInBytes
public int getRecordSizeInBytes()- Specified by:
getRecordSizeInBytes
in interfaceIRecordFactory<BeforeOperationObjectInterfaceEvent>
- Returns:
- the size (in bytes) of the record in the serialized form, or a negative value represented by the constant
IRecordFactory.UNKNOWN_RECORD_SIZE
if the size is unknown in advance.
-