Class ZipkinDataPropagationProvider

java.lang.Object
io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider
All Implemented Interfaces:
DataPropagationProvider<io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext>

public class ZipkinDataPropagationProvider extends Object implements DataPropagationProvider<io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext>
Data propagation provider for the Helidon Zipkin tracing provider.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates new provider; public for service loading.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearData(io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext data)
    Clears the propagated data from the new thread when it finishes.
    io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext
    Return data that should be propagated.
    void
    propagateData(io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext data)
    Propagates the data to be used by the new thread.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ZipkinDataPropagationProvider

      public ZipkinDataPropagationProvider()
      Creates new provider; public for service loading.
  • Method Details

    • data

      public io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext data()
      Description copied from interface: DataPropagationProvider
      Return data that should be propagated.
      Specified by:
      data in interface DataPropagationProvider<io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext>
      Returns:
      data for propagation
    • propagateData

      public void propagateData(io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext data)
      Description copied from interface: DataPropagationProvider
      Propagates the data to be used by the new thread.
      Specified by:
      propagateData in interface DataPropagationProvider<io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext>
      Parameters:
      data - data for propagation
    • clearData

      public void clearData(io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext data)
      Description copied from interface: DataPropagationProvider
      Clears the propagated data from the new thread when it finishes.
      Specified by:
      clearData in interface DataPropagationProvider<io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext>
      Parameters:
      data - data for propagation