Class SystemScope

java.lang.Object
com.kingsrook.qqq.backend.core.jobs.SystemScope

public final class SystemScope extends Object
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.
  • Method Details

    • call

      public static <T> T call(SystemScope.Body<T> body) throws QException
      Run the body under a system session in the current instance, keeping the current transaction, then restore the caller's context.
      Throws:
      QException