Package dev.restate.sdk.core
Interface RestateEndpoint.LoggingContextSetter
- Enclosing class:
RestateEndpoint
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to abstract setting the logging context variables.
In classic multithreaded environments, you can just use THREAD_LOCAL_INSTANCE
, though the caller of RestateEndpoint
must
take care of the cleanup of the thread local map.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final RestateEndpoint.LoggingContextSetter
-
Method Summary
-
Field Details
-
INVOCATION_ID_KEY
- See Also:
-
INVOCATION_TARGET_KEY
- See Also:
-
INVOCATION_STATUS_KEY
- See Also:
-
THREAD_LOCAL_INSTANCE
-
-
Method Details
-
set
-