Class BraveCurrentTraceContext

java.lang.Object
org.springframework.cloud.sleuth.brave.bridge.BraveCurrentTraceContext
All Implemented Interfaces:
org.springframework.cloud.sleuth.CurrentTraceContext

public class BraveCurrentTraceContext extends Object implements org.springframework.cloud.sleuth.CurrentTraceContext
  • Constructor Details

    • BraveCurrentTraceContext

      public BraveCurrentTraceContext(brave.propagation.CurrentTraceContext delegate)
  • Method Details

    • context

      public org.springframework.cloud.sleuth.TraceContext context()
      Specified by:
      context in interface org.springframework.cloud.sleuth.CurrentTraceContext
    • newScope

      public org.springframework.cloud.sleuth.CurrentTraceContext.Scope newScope(org.springframework.cloud.sleuth.TraceContext context)
      Specified by:
      newScope in interface org.springframework.cloud.sleuth.CurrentTraceContext
    • maybeScope

      public org.springframework.cloud.sleuth.CurrentTraceContext.Scope maybeScope(org.springframework.cloud.sleuth.TraceContext context)
      Specified by:
      maybeScope in interface org.springframework.cloud.sleuth.CurrentTraceContext
    • wrap

      public <C> Callable<C> wrap(Callable<C> task)
      Specified by:
      wrap in interface org.springframework.cloud.sleuth.CurrentTraceContext
    • wrap

      public Runnable wrap(Runnable task)
      Specified by:
      wrap in interface org.springframework.cloud.sleuth.CurrentTraceContext
    • wrap

      public Executor wrap(Executor delegate)
      Specified by:
      wrap in interface org.springframework.cloud.sleuth.CurrentTraceContext
    • wrap

      public ExecutorService wrap(ExecutorService delegate)
      Specified by:
      wrap in interface org.springframework.cloud.sleuth.CurrentTraceContext