Class MicrometerRunContextPropagator
java.lang.Object
dev.restate.sdk.interceptor.micrometer.MicrometerRunContextPropagator
- All Implemented Interfaces:
RunContextPropagator
RunContextPropagator based on Micrometer's ContextSnapshotFactory.-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.restate.sdk.interceptor.RunContextPropagator
RunContextPropagator.CapturedContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncapture()Capture a thread-local state from the calling thread.
-
Constructor Details
-
MicrometerRunContextPropagator
public MicrometerRunContextPropagator()
-
-
Method Details
-
capture
Description copied from interface:RunContextPropagatorCapture a thread-local state from the calling thread.- Specified by:
capturein interfaceRunContextPropagator
-