public class PlatformReindexServiceImpl extends Object implements PlatformReindexService, SynchronousPlatformReindexService
Modifier and Type | Field and Description |
---|---|
protected ActivityIndexingScheduler |
activityIndexingScheduler |
protected CaseInstanceIndexingScheduler |
caseInstanceIndexingScheduler |
protected CmmnEngine |
cmmnEngine |
protected ContentItemIndexingScheduler |
contentItemIndexingScheduler |
protected CoreContentService |
contentService |
protected PlanItemInstanceIndexingScheduler |
planItemInstanceIndexingScheduler |
protected ProcessEngine |
processEngine |
protected ProcessInstanceIndexingScheduler |
processInstanceIndexingScheduler |
protected ReindexManager |
reindexManager |
protected TaskIndexingScheduler |
taskIndexingScheduler |
protected WorkIndexingScheduler |
workIndexingScheduler |
Constructor and Description |
---|
PlatformReindexServiceImpl(ProcessEngine processEngine,
CmmnEngine cmmnEngine,
CoreContentService contentService,
ReindexManager reindexManager,
ProcessInstanceIndexingScheduler processInstanceIndexingScheduler,
CaseInstanceIndexingScheduler caseInstanceIndexingScheduler,
TaskIndexingScheduler taskIndexingScheduler,
PlanItemInstanceIndexingScheduler planItemInstanceIndexingScheduler,
WorkIndexingScheduler workIndexingScheduler,
ActivityIndexingScheduler activityIndexingScheduler,
ContentItemIndexingScheduler contentItemIndexingScheduler) |
Modifier and Type | Method and Description |
---|---|
void |
reindexActivities()
Reindex all process activity instances in the database.
|
void |
reindexActivity(String activityInstanceId)
Reindex one activity instance.
|
void |
reindexCaseInstance(String caseInstanceId)
Reindex one case instance.
|
void |
reindexCaseInstances()
Reindex all case instances in the database.
|
void |
reindexContentItem(String contentItemId)
Reindex one content item.
|
void |
reindexContentItems()
Reindex all content items in the database.
|
void |
reindexPlanItemInstance(String planItemInstanceId)
Reindex one plan item instance.
|
void |
reindexPlanItemInstances()
Reindex all plan item instances in the database.
|
void |
reindexProcessInstance(String processInstanceId)
Reindex one process instance.
|
void |
reindexProcessInstances()
Reindex all process instances in the database.
|
void |
reindexTask(String taskId)
Reindex one task.
|
void |
reindexTasks()
Reindex all tasks in the database.
|
void |
reindexWork()
Reindex all work instances (i.e.
|
void |
synchronousReindexActivities() |
void |
synchronousReindexActivity(String activityInstanceId) |
void |
synchronousReindexCaseInstance(String caseInstanceId) |
void |
synchronousReindexCaseInstances() |
void |
synchronousReindexContentItem(String contentItemId) |
void |
synchronousReindexContentItems() |
void |
synchronousReindexPlanItemInstance(String planItemInstanceId) |
void |
synchronousReindexPlanItemInstances() |
void |
synchronousReindexProcessInstance(String processInstanceId) |
void |
synchronousReindexProcessInstances() |
void |
synchronousReindexTask(String taskId) |
void |
synchronousReindexTasks() |
void |
synchronousReindexWork() |
void |
synchronousReindexWorkCaseInstance(String caseInstanceId) |
void |
synchronousReindexWorkProcessInstance(String processInstanceId) |
protected ProcessEngine processEngine
protected CmmnEngine cmmnEngine
protected CoreContentService contentService
protected ReindexManager reindexManager
protected ProcessInstanceIndexingScheduler processInstanceIndexingScheduler
protected CaseInstanceIndexingScheduler caseInstanceIndexingScheduler
protected PlanItemInstanceIndexingScheduler planItemInstanceIndexingScheduler
protected TaskIndexingScheduler taskIndexingScheduler
protected WorkIndexingScheduler workIndexingScheduler
protected ActivityIndexingScheduler activityIndexingScheduler
protected ContentItemIndexingScheduler contentItemIndexingScheduler
public PlatformReindexServiceImpl(ProcessEngine processEngine, CmmnEngine cmmnEngine, CoreContentService contentService, ReindexManager reindexManager, ProcessInstanceIndexingScheduler processInstanceIndexingScheduler, CaseInstanceIndexingScheduler caseInstanceIndexingScheduler, TaskIndexingScheduler taskIndexingScheduler, PlanItemInstanceIndexingScheduler planItemInstanceIndexingScheduler, WorkIndexingScheduler workIndexingScheduler, ActivityIndexingScheduler activityIndexingScheduler, ContentItemIndexingScheduler contentItemIndexingScheduler)
@Async public void reindexProcessInstances()
PlatformReindexService
reindexProcessInstances
in interface PlatformReindexService
public void synchronousReindexProcessInstances()
synchronousReindexProcessInstances
in interface SynchronousPlatformReindexService
@Async public void reindexProcessInstance(String processInstanceId)
PlatformReindexService
PlatformReindexService.reindexProcessInstance(String)
runs synchronously.
If the process instance is a root process instance, data changes will be propagated to all children.reindexProcessInstance
in interface PlatformReindexService
public void synchronousReindexProcessInstance(String processInstanceId)
synchronousReindexProcessInstance
in interface SynchronousPlatformReindexService
@Async public void reindexCaseInstances()
PlatformReindexService
reindexCaseInstances
in interface PlatformReindexService
public void synchronousReindexCaseInstances()
synchronousReindexCaseInstances
in interface SynchronousPlatformReindexService
@Async public void reindexCaseInstance(String caseInstanceId)
PlatformReindexService
PlatformReindexService.reindexCaseInstance(String)
runs synchronously.
If the process instance is a root process instance, data changes will be propagated to all children.reindexCaseInstance
in interface PlatformReindexService
public void synchronousReindexCaseInstance(String caseInstanceId)
synchronousReindexCaseInstance
in interface SynchronousPlatformReindexService
@Async public void reindexPlanItemInstances()
PlatformReindexService
reindexPlanItemInstances
in interface PlatformReindexService
public void synchronousReindexPlanItemInstances()
synchronousReindexPlanItemInstances
in interface SynchronousPlatformReindexService
@Async public void reindexPlanItemInstance(String planItemInstanceId)
PlatformReindexService
PlatformReindexService.reindexCaseInstance(String)
runs synchronously.reindexPlanItemInstance
in interface PlatformReindexService
public void synchronousReindexPlanItemInstance(String planItemInstanceId)
synchronousReindexPlanItemInstance
in interface SynchronousPlatformReindexService
@Async public void reindexTasks()
PlatformReindexService
reindexTasks
in interface PlatformReindexService
public void synchronousReindexTasks()
synchronousReindexTasks
in interface SynchronousPlatformReindexService
@Async public void reindexTask(String taskId)
PlatformReindexService
PlatformReindexService.reindexCaseInstance(String)
runs synchronously.reindexTask
in interface PlatformReindexService
public void synchronousReindexTask(String taskId)
synchronousReindexTask
in interface SynchronousPlatformReindexService
@Async public void reindexWork()
PlatformReindexService
PlatformReindexService.reindexProcessInstance(String)
or
PlatformReindexService.reindexCaseInstance(String)
, which will update the work index if the instance is a root instance.reindexWork
in interface PlatformReindexService
public void synchronousReindexWork()
synchronousReindexWork
in interface SynchronousPlatformReindexService
public void synchronousReindexWorkProcessInstance(String processInstanceId)
synchronousReindexWorkProcessInstance
in interface SynchronousPlatformReindexService
public void synchronousReindexWorkCaseInstance(String caseInstanceId)
synchronousReindexWorkCaseInstance
in interface SynchronousPlatformReindexService
@Async public void reindexActivities()
PlatformReindexService
reindexActivities
in interface PlatformReindexService
public void synchronousReindexActivities()
synchronousReindexActivities
in interface SynchronousPlatformReindexService
@Async public void reindexActivity(String activityInstanceId)
PlatformReindexService
PlatformReindexService.reindexCaseInstance(String)
runs synchronously.reindexActivity
in interface PlatformReindexService
public void synchronousReindexActivity(String activityInstanceId)
synchronousReindexActivity
in interface SynchronousPlatformReindexService
@Async public void reindexContentItems()
PlatformReindexService
reindexContentItems
in interface PlatformReindexService
public void synchronousReindexContentItems()
synchronousReindexContentItems
in interface SynchronousPlatformReindexService
@Async public void reindexContentItem(String contentItemId)
PlatformReindexService
PlatformReindexService.reindexCaseInstance(String)
runs synchronously.reindexContentItem
in interface PlatformReindexService
public void synchronousReindexContentItem(String contentItemId)
synchronousReindexContentItem
in interface SynchronousPlatformReindexService