Class NCBaseTraceExporter
- java.lang.Object
-
- org.apache.nlpcraft.model.opencensus.NCBaseTraceExporter
-
- All Implemented Interfaces:
NCLifecycle
- Direct Known Subclasses:
NCJaegerExporter
,NCStackdriverTraceExporter
,NCZipkinExporter
public abstract class NCBaseTraceExporter extends Object implements NCLifecycle
Base class for OpenCensus trace exporters.
-
-
Constructor Summary
Constructors Constructor Description NCBaseTraceExporter(String name)
New base tracer with given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDiscard()
Called after lifecycle components is no longer needed.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.nlpcraft.model.NCLifecycle
onInit
-
-
-
-
Constructor Detail
-
NCBaseTraceExporter
public NCBaseTraceExporter(String name)
New base tracer with given name.- Parameters:
name
- Name of the exporter.
-
-
Method Detail
-
onDiscard
public void onDiscard()
Description copied from interface:NCLifecycle
Called after lifecycle components is no longer needed. UnlikeNCLifecycle.onInit()
method this call is optional and not guaranteed. Default implementation is a no-op.- Specified by:
onDiscard
in interfaceNCLifecycle
-
-