kieker.common.record.flow.trace
Class AbstractTraceEvent
java.lang.Object
kieker.common.record.AbstractMonitoringRecord
kieker.common.record.flow.AbstractEvent
kieker.common.record.flow.trace.AbstractTraceEvent
- All Implemented Interfaces:
- Serializable, Comparable<IMonitoringRecord>, IEventRecord, IFlowRecord, ITraceRecord, IMonitoringRecord, IMonitoringRecord.BinaryFactory, IMonitoringRecord.Factory
- Direct Known Subclasses:
- AbstractMonitorEvent, AbstractOperationEvent, ConstructionEvent, JoinEvent, SplitEvent
public abstract class AbstractTraceEvent
- extends AbstractEvent
- implements ITraceRecord
- Since:
- 1.5
- Author:
- Jan Waller
- See Also:
- Serialized Form
Methods inherited from class kieker.common.record.AbstractMonitoringRecord |
checkArray, classForName, compareTo, createFromArray, createFromByteBuffer, createFromStringArray, equals, fromStringArrayToTypedArray, getLoggingTimestamp, hashCode, setLoggingTimestamp, toString, typesForClass |
AbstractTraceEvent
public AbstractTraceEvent(long timestamp,
long traceId,
int orderIndex)
- This constructor uses the given parameters to initialize the fields of this record.
- Parameters:
timestamp
- The timestamp.traceId
- The trace ID.orderIndex
- the order index.
AbstractTraceEvent
public AbstractTraceEvent(ByteBuffer buffer,
IRegistry<String> stringRegistry)
throws BufferUnderflowException
- This constructor converts the given array into a record.
- Parameters:
buffer
- The bytes for the record.
- Throws:
BufferUnderflowException
- if buffer not sufficient
getTraceId
public final long getTraceId()
- Specified by:
getTraceId
in interface ITraceRecord
- Returns:
- The trace ID.
getOrderIndex
public final int getOrderIndex()
- Specified by:
getOrderIndex
in interface ITraceRecord
- Returns:
- The order index.
Copyright 2014 Kieker Project, http://kieker-monitoring.net>