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
    void rewrite​(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.IOException
      Rewrite a record if necessary.
      Parameters:
      connection - connection used for incoming records
      record - the incoming record
      loggingTimestamp - the logging timestamp to be used
      outputPort - the output port for sending the rewritten record
      Throws:
      java.io.IOException - might occur during connection
      Since:
      1.15