Class NoneTraceMetadataRewriter
java.lang.Object
kieker.analysis.generic.source.rewriter.NoneTraceMetadataRewriter
- All Implemented Interfaces:
ITraceMetadataRewriter
public class NoneTraceMetadataRewriter extends java.lang.Object implements ITraceMetadataRewriter
This is an empty rewriter which sends all received records to the output port.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description NoneTraceMetadataRewriter()
Create the rewriter. -
Method Summary
Modifier and Type Method Description void
rewrite(Connection connection, IMonitoringRecord record, long loggingTimestamp, teetime.framework.OutputPort<IMonitoringRecord> outputPort)
Rewrite a record if necessary.
-
Constructor Details
-
NoneTraceMetadataRewriter
public NoneTraceMetadataRewriter()Create the rewriter.
-
-
Method Details
-
rewrite
public void rewrite(Connection connection, IMonitoringRecord record, long loggingTimestamp, teetime.framework.OutputPort<IMonitoringRecord> outputPort) throws java.io.IOExceptionDescription copied from interface:ITraceMetadataRewriter
Rewrite a record if necessary.- Specified by:
rewrite
in interfaceITraceMetadataRewriter
- Parameters:
connection
- connection used for incoming recordsrecord
- the incoming recordloggingTimestamp
- the logging timestamp to be usedoutputPort
- the output port for sending the rewritten record- Throws:
java.io.IOException
- might occur during connection
-