Class ThreadPrioritySnapshot
java.lang.Object
org.eclipse.microprofile.context.tck.contexts.priority.spi.ThreadPrioritySnapshot
- All Implemented Interfaces:
ThreadContextSnapshot
Represents a saved copy of 'thread priority' context.
-
Method Summary
-
Method Details
-
begin
Apply the saved thread priority to the current thread, but first storing a copying of the thread priority that was previously on the thread so that the previous thread priority can later be restored via the returned ThreadContextController.- Specified by:
beginin interfaceThreadContextSnapshot
-
toString
-