public class ThreadPriorityContextProvider extends Object implements ThreadContextProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
THREAD_PRIORITY |
| Constructor and Description |
|---|
ThreadPriorityContextProvider() |
| Modifier and Type | Method and Description |
|---|---|
ThreadContextSnapshot |
clearedContext(Map<String,String> props)
Thread priority context is considered cleared by resetting to normal priority (Thread.NORM_PRIORITY).
|
ThreadContextSnapshot |
currentContext(Map<String,String> props)
Save the current thread priority.
|
String |
getThreadContextType() |
public static final String THREAD_PRIORITY
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.