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()
PlatformReindexServicereindexProcessInstances in interface PlatformReindexServicepublic void synchronousReindexProcessInstances()
synchronousReindexProcessInstances in interface SynchronousPlatformReindexService@Async public void reindexProcessInstance(String processInstanceId)
PlatformReindexServicePlatformReindexService.reindexProcessInstance(String) runs synchronously.
If the process instance is a root process instance, data changes will be propagated to all children.reindexProcessInstance in interface PlatformReindexServicepublic void synchronousReindexProcessInstance(String processInstanceId)
synchronousReindexProcessInstance in interface SynchronousPlatformReindexService@Async public void reindexCaseInstances()
PlatformReindexServicereindexCaseInstances in interface PlatformReindexServicepublic void synchronousReindexCaseInstances()
synchronousReindexCaseInstances in interface SynchronousPlatformReindexService@Async public void reindexCaseInstance(String caseInstanceId)
PlatformReindexServicePlatformReindexService.reindexCaseInstance(String) runs synchronously.
If the process instance is a root process instance, data changes will be propagated to all children.reindexCaseInstance in interface PlatformReindexServicepublic void synchronousReindexCaseInstance(String caseInstanceId)
synchronousReindexCaseInstance in interface SynchronousPlatformReindexService@Async public void reindexPlanItemInstances()
PlatformReindexServicereindexPlanItemInstances in interface PlatformReindexServicepublic void synchronousReindexPlanItemInstances()
synchronousReindexPlanItemInstances in interface SynchronousPlatformReindexService@Async public void reindexPlanItemInstance(String planItemInstanceId)
PlatformReindexServicePlatformReindexService.reindexCaseInstance(String) runs synchronously.reindexPlanItemInstance in interface PlatformReindexServicepublic void synchronousReindexPlanItemInstance(String planItemInstanceId)
synchronousReindexPlanItemInstance in interface SynchronousPlatformReindexService@Async public void reindexTasks()
PlatformReindexServicereindexTasks in interface PlatformReindexServicepublic void synchronousReindexTasks()
synchronousReindexTasks in interface SynchronousPlatformReindexService@Async public void reindexTask(String taskId)
PlatformReindexServicePlatformReindexService.reindexCaseInstance(String) runs synchronously.reindexTask in interface PlatformReindexServicepublic void synchronousReindexTask(String taskId)
synchronousReindexTask in interface SynchronousPlatformReindexService@Async public void reindexWork()
PlatformReindexServicePlatformReindexService.reindexProcessInstance(String) or
PlatformReindexService.reindexCaseInstance(String), which will update the work index if the instance is a root instance.reindexWork in interface PlatformReindexServicepublic void synchronousReindexWork()
synchronousReindexWork in interface SynchronousPlatformReindexServicepublic void synchronousReindexWorkProcessInstance(String processInstanceId)
synchronousReindexWorkProcessInstance in interface SynchronousPlatformReindexServicepublic void synchronousReindexWorkCaseInstance(String caseInstanceId)
synchronousReindexWorkCaseInstance in interface SynchronousPlatformReindexService@Async public void reindexActivities()
PlatformReindexServicereindexActivities in interface PlatformReindexServicepublic void synchronousReindexActivities()
synchronousReindexActivities in interface SynchronousPlatformReindexService@Async public void reindexActivity(String activityInstanceId)
PlatformReindexServicePlatformReindexService.reindexCaseInstance(String) runs synchronously.reindexActivity in interface PlatformReindexServicepublic void synchronousReindexActivity(String activityInstanceId)
synchronousReindexActivity in interface SynchronousPlatformReindexService@Async public void reindexContentItems()
PlatformReindexServicereindexContentItems in interface PlatformReindexServicepublic void synchronousReindexContentItems()
synchronousReindexContentItems in interface SynchronousPlatformReindexService@Async public void reindexContentItem(String contentItemId)
PlatformReindexServicePlatformReindexService.reindexCaseInstance(String) runs synchronously.reindexContentItem in interface PlatformReindexServicepublic void synchronousReindexContentItem(String contentItemId)
synchronousReindexContentItem in interface SynchronousPlatformReindexService