Class TraceToProcessor

  • All Implemented Interfaces:
    Tracer.Channel

    public class TraceToProcessor
    extends TraceProvider
    implements Tracer.Channel
    Converts a trace to a trace PUSH-source. Writes the trace which comes from aspect tracers via Tracer directly to adapters without external representation.
    • Method Detail

      • startTrace

        public void startTrace​(java.util.Properties props)
        Description copied from interface: Tracer.Channel
        Starts trace.
        Specified by:
        startTrace in interface Tracer.Channel
        Parameters:
        props - Conf.
      • dispatch

        public void dispatch​(AbstractTraceMessage msg)
                      throws java.lang.IllegalStateException,
                             java.lang.IllegalArgumentException
        Description copied from interface: Tracer.Channel
        Processes trace message.
        Specified by:
        dispatch in interface Tracer.Channel
        Parameters:
        msg - Trace message. Realizations must recognize following message types: TraceMessage, TagMessage, DebugMessage
        Throws:
        java.lang.IllegalStateException - Trace has not begun yet or conf error.
        java.lang.IllegalArgumentException - Configuration internal problems.