public interface ThreadContextFacade
ThreadContext
.Modifier and Type | Method and Description |
---|---|
void |
removeCurrentContext()
Removes the current
ThreadContext . |
void |
setCurrentContext(ThreadContext threadContext)
Sets the current
ThreadContext . |
io.vavr.control.Try<ThreadContext> |
tryGetCurrentContext()
Returns a
Try of the current ThreadContext . |
@Nonnull io.vavr.control.Try<ThreadContext> tryGetCurrentContext()
Try
of the current ThreadContext
.Try
of the current ThreadContext
.void setCurrentContext(@Nonnull ThreadContext threadContext)
ThreadContext
.threadContext
- The ThreadContext
to set.void removeCurrentContext()
ThreadContext
.Copyright © 2021 SAP SE. All rights reserved.