Class CurrentSpanUtils.RunnableInSpan

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    CurrentSpanUtils

    private static final class CurrentSpanUtils.RunnableInSpan
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean endSpan  
      private java.lang.Runnable runnable  
      private Span span  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RunnableInSpan​(Span span, java.lang.Runnable runnable, boolean endSpan)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • 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
      • runnable

        private final java.lang.Runnable runnable
      • endSpan

        private final boolean endSpan
    • Constructor Detail

      • RunnableInSpan

        private RunnableInSpan​(Span span,
                               java.lang.Runnable runnable,
                               boolean endSpan)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable