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
ConstructorDescriptionCreates new provider; public for service loading. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
data()
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.
-
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 interfaceDataPropagationProvider<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 interfaceDataPropagationProvider<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 interfaceDataPropagationProvider<io.helidon.tracing.providers.zipkin.ZipkinDataPropagationProvider.ZipkinContext>
- Parameters:
data
- data for propagation
-