Uses of Record Class
com.kingsrook.qqq.backend.core.context.CapturedContext
Packages that use CapturedContext
-
Uses of CapturedContext in com.kingsrook.qqq.backend.core.context
Methods in com.kingsrook.qqq.backend.core.context that return CapturedContextModifier and TypeMethodDescriptionstatic CapturedContext
QContext.capture()
Capture all values from the current thread - meant to be used with the init overload that takes a CapturedContext, for setting up a child thread.Methods in com.kingsrook.qqq.backend.core.context with parameters of type CapturedContextModifier and TypeMethodDescriptionstatic void
QContext.init
(CapturedContext capturedContext) Init a new thread with the context captured from a different thread.static <T extends Throwable>
voidQContext.withTemporaryContext
(CapturedContext context, UnsafeVoidVoidMethod<T> method)