Interface SpanCallable<T,​E extends java.lang.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 SpanCallable<T,​E extends java.lang.Throwable>
    An interface for creating a lambda that is wrapped in a span, returns a value, and that may throw.
    • Method Detail

      • callInSpan

        T callInSpan()
              throws E extends java.lang.Throwable
        Throws:
        E extends java.lang.Throwable