Class CurrentSpanUtils.CallableInSpan<V>

  • All Implemented Interfaces:
    java.util.concurrent.Callable<V>
    Enclosing class:
    CurrentSpanUtils

    private static final class CurrentSpanUtils.CallableInSpan<V>
    extends java.lang.Object
    implements java.util.concurrent.Callable<V>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.Callable<V> callable  
      private boolean endSpan  
      private Span span  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CallableInSpan​(Span span, java.util.concurrent.Callable<V> callable, boolean endSpan)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V call()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • span

        private final Span span
      • callable

        private final java.util.concurrent.Callable<V> callable
      • endSpan

        private final boolean endSpan
    • Constructor Detail

      • CallableInSpan

        private CallableInSpan​(Span span,
                               java.util.concurrent.Callable<V> callable,
                               boolean endSpan)
    • Method Detail

      • call

        public V call()
               throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<V>
        Throws:
        java.lang.Exception