public class ThreadPrioritySnapshot extends Object implements ThreadContextSnapshot
Modifier and Type | Method and Description |
---|---|
ThreadContextController |
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.
|
String |
toString() |
public ThreadContextController begin()
begin
in interface ThreadContextSnapshot
Copyright © 2021 Eclipse Foundation. All rights reserved.