public final class ThreadLocalTaggingContext extends java.lang.Object implements TaggingContext
Modifier and Type | Method and Description |
---|---|
static ThreadLocalTaggingContext |
getInstance()
Get the instance.
|
TagList |
getTags()
Get the tags associated with the current thread.
|
void |
reset()
Remove the tags associated with the current thread.
|
void |
setTags(TagList tags)
Set the tags to be associated with the current thread.
|
public static ThreadLocalTaggingContext getInstance()
public void setTags(TagList tags)
public TagList getTags()
getTags
in interface TaggingContext
public void reset()