Package io.debezium.util
Class LoggingContext.PreviousContext
java.lang.Object
io.debezium.util.LoggingContext.PreviousContext
- Enclosing class:
LoggingContext
A snapshot of an MDC context that can be
restore().-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static LoggingContext.PreviousContextload()Loads snapshot of previous MDC context including copy of root context keys that needs to be removed onrestore().voidrestore()Restore this logging context.
-
Field Details
-
EMPTY_CONTEXT
-
context
-
rootContextKeys
-
-
Constructor Details
-
PreviousContext
-
-
Method Details
-
load
Loads snapshot of previous MDC context including copy of root context keys that needs to be removed onrestore().- Returns:
LoggingContext.PreviousContext
-
restore
public void restore()Restore this logging context.
-