Interface ActiveThreadSpanSource<T extends AuditSpan>


public interface ActiveThreadSpanSource<T extends AuditSpan>
Interface to get the active thread span. This can be used to collect the active span to propagate it into other threads. FileSystems which track their active span may implement this and offer their active span.
  • Method Summary

    Modifier and Type
    Method
    Description
    The active span.
  • Method Details

    • getActiveAuditSpan

      T getActiveAuditSpan()
      The active span. This may not be a valid span, i.e. there is no guarantee that getActiveAuditSpan().isValidSpan() is true, but implementations MUST always return a non-null span.
      Returns:
      the currently active span.