Trace

This package provides interfaces and classes used to create different types of tracers. The main tools available from this package are a tracer factory and a tracer composite class. The first allows to create a factory for tracers, and the second to combine different tracers into one. Additionally, it provides tracers that allow to store their contents in memory and logs.

Interfaces

ITracer

Interface for tracer components that capture operation traces.


Classes

CachedTracer

Abstract tracer that caches recorded traces in memory and periodically dumps them.

CompositeTracer

Aggregates all tracers from component references under a single component.

DefaultTracerFactory

Creates ITracer components by their descriptors.

LogTracer

Tracer that dumps recorded traces to logger.

NullTracer

Dummy implementation of tracer that doesn’t do anything.

OperationTrace

Data object to store captured operation traces.

TraceTiming

Timing object returned by ITracer.beginTrace to end timing of execution block and record the associated trace.