Class ProgressTrace

Object
com.tailf.progress.ProgressTrace
Direct Known Subclasses:
ProgressTraceNed

public class ProgressTrace extends Object
ProgressTrace class interacts with ConfD/NCS's progress trace framework over underlying MAAPI. See the Progress Trace chapter in the NSO Development Guide or in the ConfD User Guide for more information. The class is implemented based on the concept of spans. For example:
 ProgressTrace progress = new ProgressTrace(maapi, tid);
 Attributes attributes = new Attributes();
 attributes.set("name", "value");
 Span span1 = progress.startSpan(Maapi.Verbosity.VERY_VERBOSE,
                                 "span1",
                                 attributes,
                                 null);
 Span span2 = progress.startSpan("span2");
 progress.endSpan(span2);
 progress.endSpan(span1);