Class CacheAwareHistoryEventProducer
java.lang.Object
org.camunda.bpm.engine.impl.history.producer.DefaultHistoryEventProducer
org.camunda.bpm.engine.impl.history.producer.CacheAwareHistoryEventProducer
- All Implemented Interfaces:
HistoryEventProducer
This HistoryEventProducer is aware of the DbEntityManager
cache
and works in combination with the DbHistoryEventHandler
.
- Author:
- Daniel Meyer
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.history.producer.DefaultHistoryEventProducer
LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends HistoryEvent>
TfindInCache
(Class<T> type, String id) find a cached entity by primary keyprotected HistoricActivityInstanceEventEntity
loadActivityInstanceEventEntity
(ExecutionEntity execution) protected HistoricBatchEntity
loadBatchEntity
(BatchEntity batch) protected HistoricIncidentEventEntity
loadIncidentEvent
(Incident incident) protected HistoricProcessInstanceEventEntity
loadProcessInstanceEventEntity
(ExecutionEntity execution) protected HistoricTaskInstanceEventEntity
Methods inherited from class org.camunda.bpm.engine.impl.history.producer.DefaultHistoryEventProducer
addRemovalTimeToHistoricDecisions, addRemovalTimeToHistoricIncidents, addRemovalTimeToHistoricJobLog, addRemovalTimeToHistoricProcessInstances, calculateRemovalTime, calculateRemovalTime, createActivityInstanceEndEvt, createActivityInstanceMigrateEvt, createActivityInstanceStartEvt, createActivityInstanceUpdateEvt, createActivityInstanceUpdateEvt, createBatchEndEvent, createBatchEvent, createBatchStartEvent, createBatchUpdateEvent, createFormPropertyUpdateEvt, createHistoricExternalTaskLogCreatedEvt, createHistoricExternalTaskLogDeletedEvt, createHistoricExternalTaskLogFailedEvt, createHistoricExternalTaskLogSuccessfulEvt, createHistoricIdentityLinkAddEvent, createHistoricIdentityLinkDeleteEvent, createHistoricIdentityLinkEvt, createHistoricIncidentCreateEvt, createHistoricIncidentDeleteEvt, createHistoricIncidentEvt, createHistoricIncidentMigrateEvt, createHistoricIncidentResolveEvt, createHistoricIncidentUpdateEvt, createHistoricJobLogCreateEvt, createHistoricJobLogDeleteEvt, createHistoricJobLogEvt, createHistoricJobLogFailedEvt, createHistoricJobLogSuccessfulEvt, createHistoricVariableCreateEvt, createHistoricVariableDeleteEvt, createHistoricVariableEvent, createHistoricVariableMigrateEvt, createHistoricVariableUpdateEvt, createProcessInstanceEndEvt, createProcessInstanceMigrateEvt, createProcessInstanceStartEvt, createProcessInstanceUpdateEvt, createTaskInstanceCompleteEvt, createTaskInstanceCreateEvt, createTaskInstanceMigrateEvt, createTaskInstanceUpdateEvt, createUserOperationLogEvents, determineEndState, findProcessDefinitionById, getHistoricBatchById, getHistoricBatchByJobId, getHistoricRootProcessInstance, getHistoryRemovalTimeStrategy, getTimestamp, initActivityInstanceEvent, initActivityInstanceEvent, initActivityInstanceEvent, initHistoricExternalTaskLog, initHistoricIdentityLinkEvent, initHistoricIncidentEvent, initHistoricJobLogEvent, initHistoricVariableUpdateEvt, initProcessInstanceEvent, initSequenceCounter, initSequenceCounter, initSequenceCounter, initSequenceCounter, initTaskInstanceEvent, initUserOperationLogEvent, isDmnEnabled, isHistoryRemovalTimeStrategyEnd, isHistoryRemovalTimeStrategyStart, isRootProcessInstance, newActivityInstanceEventEntity, newBatchEventEntity, newHistoricFormPropertyEvent, newHistoricJobLogEntity, newIdentityLinkEventEntity, newIncidentEventEntity, newProcessInstanceEventEntity, newTaskInstanceEventEntity, newVariableUpdateEventEntity, provideRemovalTime, provideRemovalTime
-
Constructor Details
-
CacheAwareHistoryEventProducer
public CacheAwareHistoryEventProducer()
-
-
Method Details
-
loadActivityInstanceEventEntity
protected HistoricActivityInstanceEventEntity loadActivityInstanceEventEntity(ExecutionEntity execution) - Overrides:
loadActivityInstanceEventEntity
in classDefaultHistoryEventProducer
-
loadProcessInstanceEventEntity
protected HistoricProcessInstanceEventEntity loadProcessInstanceEventEntity(ExecutionEntity execution) - Overrides:
loadProcessInstanceEventEntity
in classDefaultHistoryEventProducer
-
loadTaskInstanceEvent
- Overrides:
loadTaskInstanceEvent
in classDefaultHistoryEventProducer
-
loadIncidentEvent
- Overrides:
loadIncidentEvent
in classDefaultHistoryEventProducer
-
loadBatchEntity
- Overrides:
loadBatchEntity
in classDefaultHistoryEventProducer
-
findInCache
find a cached entity by primary key
-