Class OpenTenantGateLongRunningTask

  • All Implemented Interfaces:
    com.atlassian.core.task.longrunning.LongRunningTask, Runnable

    public class OpenTenantGateLongRunningTask
    extends DelegatingLongRunningTask
    Allow LongRunningTasks to pass through the ThreadLocalTenantGate even though it's currently closed (vacant instance).

    This can be used to let setup code modify tenanted resources before they're made available to a broader audience.

    Since:
    5.6
    • Constructor Detail

      • OpenTenantGateLongRunningTask

        public OpenTenantGateLongRunningTask​(com.atlassian.core.task.longrunning.LongRunningTask delegate)