public class TenantAwareExecuteAsyncRunnable extends ExecuteAsyncRunnable
ExecuteAsyncRunnable by setting the 'tenant' context before executing.| Modifier and Type | Field and Description |
|---|---|
protected String |
tenantId |
protected TenantInfoHolder |
tenantInfoHolder |
asyncRunnableExecutionExceptionHandlers, job, jobEntityManager, jobId, jobServiceConfiguration| Constructor and Description |
|---|
TenantAwareExecuteAsyncRunnable(JobInfo job,
JobServiceConfiguration jobServiceConfiguration,
TenantInfoHolder tenantInfoHolder,
String tenantId) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
executeJob, handleFailedJob, lockJob, unacquireJob, unlockJobIfNeededprotected TenantInfoHolder tenantInfoHolder
protected String tenantId
public TenantAwareExecuteAsyncRunnable(JobInfo job, JobServiceConfiguration jobServiceConfiguration, TenantInfoHolder tenantInfoHolder, String tenantId)
public void run()
run in interface Runnablerun in class ExecuteAsyncRunnableCopyright © 2018 Flowable. All rights reserved.