Interface RecordEventsSpanImpl.StartEndHandler

  • All Known Implementing Classes:
    StartEndHandlerImpl
    Enclosing class:
    RecordEventsSpanImpl

    public static interface RecordEventsSpanImpl.StartEndHandler
    Interface to handle the start and end operations for a Span only when the Span has Span.Options.RECORD_EVENTS option.

    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.