Class BufferContextSnapshot
java.lang.Object
org.eclipse.microprofile.context.tck.contexts.buffer.spi.BufferContextSnapshot
- All Implemented Interfaces:
ThreadContextSnapshot
Represents a saved 'buffer' instance.
-
Method Details
-
begin
Apply the requested buffer context to the current thread, first storing a copying of the buffer that was previously associated with the thread, to later be restored via the returned ThreadContextController.- Specified by:
beginin interfaceThreadContextSnapshot
-
toString
-