Package io.opencensus.implcore.trace
Interface RecordEventsSpanImpl.StartEndHandler
-
- All Known Implementing Classes:
StartEndHandlerImpl
- Enclosing class:
- RecordEventsSpanImpl
public static interface RecordEventsSpanImpl.StartEndHandlerInterface to handle the start and end operations for aSpanonly when theSpanhasSpan.Options.RECORD_EVENTSoption.Implementation must avoid high overhead work in any of the methods because the code is executed on the critical path.
One instance can be called by multiple threads in the same time, so the implementation must be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonEnd(RecordEventsSpanImpl span)voidonStart(RecordEventsSpanImpl span)
-
-
-
Method Detail
-
onStart
void onStart(RecordEventsSpanImpl span)
-
onEnd
void onEnd(RecordEventsSpanImpl span)
-
-