public class CacheAwareHistoryEventProducer extends DefaultHistoryEventProducer
This HistoryEventProducer is aware of the DbEntityManager
cache
and works in combination with the DbHistoryEventHandler
.
Constructor and Description |
---|
CacheAwareHistoryEventProducer() |
Modifier and Type | Method and Description |
---|---|
protected <T extends HistoryEvent> |
findInCache(Class<T> type,
String id)
find a cached entity by primary key
|
protected HistoricActivityInstanceEventEntity |
loadActivityInstanceEventEntity(ExecutionEntity execution) |
protected HistoricIncidentEventEntity |
loadIncidentEvent(Incident incident) |
protected HistoricProcessInstanceEventEntity |
loadProcessInstanceEventEntity(ExecutionEntity execution) |
protected HistoricTaskInstanceEventEntity |
loadTaskInstanceEvent(DelegateTask task) |
createActivityInstanceEndEvt, createActivityInstanceMigrateEvt, createActivityInstanceStartEvt, createActivityInstanceUpdateEvt, createActivityInstanceUpdateEvt, createBatchEndEvent, createBatchEvent, createBatchStartEvent, createFormPropertyUpdateEvt, createHistoricExternalTaskLogCreatedEvt, createHistoricExternalTaskLogDeletedEvt, createHistoricExternalTaskLogFailedEvt, createHistoricExternalTaskLogSuccessfulEvt, createHistoricIdentityLinkAddEvent, createHistoricIdentityLinkDeleteEvent, createHistoricIdentityLinkEvt, createHistoricIncidentCreateEvt, createHistoricIncidentDeleteEvt, createHistoricIncidentEvt, createHistoricIncidentMigrateEvt, createHistoricIncidentResolveEvt, createHistoricJobLogCreateEvt, createHistoricJobLogDeleteEvt, createHistoricJobLogEvt, createHistoricJobLogFailedEvt, createHistoricJobLogSuccessfulEvt, createHistoricVariableCreateEvt, createHistoricVariableDeleteEvt, createHistoricVariableEvent, createHistoricVariableMigrateEvt, createHistoricVariableUpdateEvt, createProcessInstanceEndEvt, createProcessInstanceMigrateEvt, createProcessInstanceStartEvt, createProcessInstanceUpdateEvt, createTaskInstanceCompleteEvt, createTaskInstanceCreateEvt, createTaskInstanceMigrateEvt, createTaskInstanceUpdateEvt, createUserOperationLogEvents, determineEndState, initActivityInstanceEvent, initActivityInstanceEvent, initActivityInstanceEvent, initHistoricExternalTaskLog, initHistoricIdentityLinkEvent, initHistoricIncidentEvent, initHistoricJobLogEvent, initHistoricVariableUpdateEvt, initProcessInstanceEvent, initSequenceCounter, initSequenceCounter, initSequenceCounter, initSequenceCounter, initTaskInstanceEvent, initUserOperationLogEvent, newActivityInstanceEventEntity, newHistoricFormPropertyEvent, newHistoricJobLogEntity, newIdentityLinkEventEntity, newIncidentEventEntity, newProcessInstanceEventEntity, newTaskInstanceEventEntity, newVariableUpdateEventEntity
protected HistoricActivityInstanceEventEntity loadActivityInstanceEventEntity(ExecutionEntity execution)
loadActivityInstanceEventEntity
in class DefaultHistoryEventProducer
protected HistoricProcessInstanceEventEntity loadProcessInstanceEventEntity(ExecutionEntity execution)
loadProcessInstanceEventEntity
in class DefaultHistoryEventProducer
protected HistoricTaskInstanceEventEntity loadTaskInstanceEvent(DelegateTask task)
loadTaskInstanceEvent
in class DefaultHistoryEventProducer
protected HistoricIncidentEventEntity loadIncidentEvent(Incident incident)
loadIncidentEvent
in class DefaultHistoryEventProducer
protected <T extends HistoryEvent> T findInCache(Class<T> type, String id)
Copyright © 2019. All rights reserved.