public class BufferContextProvider extends Object implements ThreadContextProvider
| Constructor and Description |
|---|
BufferContextProvider() |
| Modifier and Type | Method and Description |
|---|---|
ThreadContextSnapshot |
clearedContext(Map<String,String> props)
Buffer context is considered cleared by associating a new empty StringBuffer with the thread.
|
ThreadContextSnapshot |
currentContext(Map<String,String> props)
Save the buffer instance that is associated with the current thread.
|
String |
getThreadContextType() |
public ThreadContextSnapshot clearedContext(Map<String,String> props)
clearedContext in interface ThreadContextProviderpublic ThreadContextSnapshot currentContext(Map<String,String> props)
currentContext in interface ThreadContextProviderpublic String getThreadContextType()
getThreadContextType in interface ThreadContextProviderCopyright © 2021 Eclipse Foundation. All rights reserved.