Interface ITraceMetadataRewriter
- All Known Implementing Classes:
NoneTraceMetadataRewriter,PlainTraceMetadataRewriter
public interface ITraceMetadataRewriter
In case
TraceMetadata records are received out of order, i.e., not before the first trace
related record, different strategies can be applied. This interface provides a common interface
for the implementation of such strategies.- Since:
- 1.15
- Author:
- Reiner Jung
-
Method Summary
Modifier and Type Method Description voidrewrite(Connection connection, IMonitoringRecord record, long loggingTimestamp, teetime.framework.OutputPort<IMonitoringRecord> outputPort)Rewrite a record if necessary.
-
Method Details
-
rewrite
void rewrite(Connection connection, IMonitoringRecord record, long loggingTimestamp, teetime.framework.OutputPort<IMonitoringRecord> outputPort) throws java.io.IOExceptionRewrite a record if necessary.- 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- Since:
- 1.15
-