Class SystemScope
java.lang.Object
com.kingsrook.qqq.backend.core.jobs.SystemScope
Runs kernel bookkeeping (the jobs tables themselves) as the system user, so
the owner lock does not hide rows from the kernel. Never used to run a job's
own work: that runs as the job's user.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA body that returns a value and may throw. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tcall(SystemScope.Body<T> body) Run the body under a system session in the current instance, keeping the current transaction, then restore the caller's context.
-
Method Details
-
call
Run the body under a system session in the current instance, keeping the current transaction, then restore the caller's context.- Throws:
QException
-