TracerFactory

public interface TracerFactory implements AutoCloseable

A factory of Tracers of signal messages.

Each tracer is created for a single signal and should not be reused.

Implementations may choose to perform I/O operations (i.e. send traces via network) on close(). It is expected in general that each call to trace results in some tracing data produced, however, implementations may ignore some signals.

Functions

Link copied to clipboard
public abstract Tracer trace(ContextSpec context, Signal<?, ?, ?> signalMessage)
Creates a new instance of Tracer for the given signal.

Inherited functions

Link copied to clipboard
public abstract void close()