Interface SpanRunnable<E extends Throwable>

Type Parameters:
E - Thrown exception type.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SpanRunnable<E extends Throwable>
An interface for creating a lambda that is wrapped in a span and that may throw.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
  • Method Details

    • runInSpan

      void runInSpan() throws E
      Throws:
      E