Uses of Class
org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
Package
Description
-
Uses of DbOperation in org.camunda.bpm.engine.impl.batch
-
Uses of DbOperation in org.camunda.bpm.engine.impl.batch.removaltime
Modifier and TypeFieldDescriptionprotected Map<Class<? extends DbEntity>,
DbOperation> ProcessSetRemovalTimeResultHandler.operations
Modifier and TypeMethodDescriptionprotected Map<Class<? extends DbEntity>,
DbOperation> ProcessSetRemovalTimeJobHandler.addRemovalTime
(String instanceId, Date removalTime, Integer batchSize, Set<String> entities, CommandContext commandContext) protected Map<Class<? extends DbEntity>,
DbOperation> ProcessSetRemovalTimeJobHandler.addRemovalTimeToHierarchy
(String rootProcessInstanceId, Date removalTime, Integer batchSize, Set<String> entities, CommandContext commandContext) protected Map<Class<? extends DbEntity>,
DbOperation> ProcessSetRemovalTimeJobHandler.addRemovalTimeToInstance
(String instanceId, SetRemovalTimeBatchConfiguration configuration, Integer batchSize, Set<String> entities, CommandContext commandContext) Modifier and TypeMethodDescriptionprotected TransactionListener
ProcessSetRemovalTimeJobHandler.createTransactionHandler
(SetRemovalTimeBatchConfiguration configuration, Map<Class<? extends DbEntity>, DbOperation> operations, Integer chunkSize, MessageEntity currentJob, CommandExecutor newCommandExecutor) ProcessSetRemovalTimeResultHandler.getEntitiesToUpdate
(Map<Class<? extends DbEntity>, DbOperation> operations, int chunkSize) protected void
ProcessSetRemovalTimeJobHandler.registerTransactionHandler
(SetRemovalTimeBatchConfiguration configuration, Map<Class<? extends DbEntity>, DbOperation> operations, Integer chunkSize, MessageEntity currentJob, CommandContext commandContext) ModifierConstructorDescriptionProcessSetRemovalTimeResultHandler
(SetRemovalTimeBatchConfiguration batchJobConfiguration, Integer chunkSize, CommandExecutor commandExecutor, ProcessSetRemovalTimeJobHandler jobHandler, String jobId, Map<Class<? extends DbEntity>, DbOperation> operations) -
Uses of DbOperation in org.camunda.bpm.engine.impl.cmd
-
Uses of DbOperation in org.camunda.bpm.engine.impl.db
Modifier and TypeFieldDescriptionprotected List<DbOperation>
FlushResult.failedOperations
protected List<DbOperation>
FlushResult.remainingOperations
Modifier and TypeMethodDescriptionFlushResult.getFailedOperations()
FlushResult.getRemainingOperations()
Modifier and TypeMethodDescriptionEnginePersistenceLogger.batchingNotSupported
(DbOperation operation) void
EnginePersistenceLogger.concurrentModificationFailureIgnored
(DbOperation operation) EnginePersistenceLogger.concurrentUpdateDbEntityException
(DbOperation operation) void
AbstractPersistenceSession.executeDbOperation
(DbOperation operation) EnginePersistenceLogger.flushDbOperationException
(List<DbOperation> operationsToFlush, DbOperation failedOperation, Throwable e) void
EnginePersistenceLogger.ignoreFailureDuePreconditionNotMet
(DbOperation ignoredOperation, String preconditionMessage, DbOperation failedOperation) Modifier and TypeMethodDescriptionvoid
EnginePersistenceLogger.databaseFlushSummary
(Collection<DbOperation> operations) PersistenceSession.executeDbOperations
(List<DbOperation> operations) Attempts to perform the operations in order and returns a flush result.EnginePersistenceLogger.flushDbOperationException
(List<DbOperation> operationsToFlush, DbOperation failedOperation, Throwable e) EnginePersistenceLogger.flushDbOperationUnexpectedException
(List<DbOperation> operationsToFlush, Throwable cause) static FlushResult
FlushResult.withFailures
(List<DbOperation> failedOperations) static FlushResult
FlushResult.withFailuresAndRemaining
(List<DbOperation> failedOperations, List<DbOperation> remainingOperations) EnginePersistenceLogger.wrongBatchResultsSizeException
(List<DbOperation> operationsToFlush) ModifierConstructorDescriptionFlushResult
(List<DbOperation> failedOperations, List<DbOperation> remainingOperations) -
Uses of DbOperation in org.camunda.bpm.engine.impl.db.entitymanager
Modifier and TypeMethodDescriptionDbEntityManager.updatePreserveOrder
(Class<? extends DbEntity> entityType, String statement, Object parameter) Several update operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to.Modifier and TypeMethodDescriptionprotected boolean
DbEntityManager.canIgnoreHistoryModificationFailure
(DbOperation dbOperation) Determines if a failed database operation (OptimisticLockingException) on a Historic entity can be ignored.OptimisticLockingListener.failedOperation
(DbOperation operation) Signifies that an operation failed due to optimistic locking.protected void
DbEntityManager.handleConcurrentModification
(DbOperation dbOperation) Decides if an operation that failed for concurrent modifications can be tolerated, or ifOptimisticLockingException
should be raisedprotected void
DbEntityManager.handleConcurrentModificationWithRolledBackTransaction
(DbOperation dbOperation) Modifier and TypeMethodDescriptionprotected void
DbEntityManager.flushDbOperations
(List<DbOperation> operationsToFlush, List<DbOperation> allOperations) -
Uses of DbOperation in org.camunda.bpm.engine.impl.db.entitymanager.operation
Modifier and TypeClassDescriptionclass
A bulk operationclass
An operation on a single DbEntityModifier and TypeMethodDescriptionprotected void
DbOperationManager.addSortedInserts
(List<DbOperation> flush) Adds the insert operations to the flush (in correct order).protected void
DbOperationManager.addSortedModifications
(List<DbOperation> flush) Adds a correctly ordered list of UPDATE and DELETE operations to the flush.protected void
DbOperationManager.addSortedModificationsForType
(Class<?> type, SortedSet<DbEntityOperation> preSortedOperations, List<DbOperation> flush) protected void
DbOperationManager.determineDependencies
(List<DbOperation> flush) -
Uses of DbOperation in org.camunda.bpm.engine.impl.db.sql
Modifier and TypeMethodDescriptionprotected boolean
DbSqlSession.isConcurrentModificationException
(DbOperation failedOperation, org.apache.ibatis.exceptions.PersistenceException cause) protected void
BatchDbSqlSession.postProcessOperationPerformed
(DbOperation operation, int rowsAffected, org.apache.ibatis.exceptions.PersistenceException failure) Modifier and TypeMethodDescriptionBatchDbSqlSession.executeDbOperations
(List<DbOperation> operations) SimpleDbSqlSession.executeDbOperations
(List<DbOperation> operations) protected FlushResult
BatchDbSqlSession.postProcessBatchFailure
(List<DbOperation> operations, org.apache.ibatis.exceptions.PersistenceException exception) protected FlushResult
BatchDbSqlSession.postProcessBatchSuccess
(List<DbOperation> operations, List<org.apache.ibatis.executor.BatchResult> batchResults) protected void
BatchDbSqlSession.postProcessJdbcBatchResult
(Iterator<DbOperation> operationsIt, int[] statementResults, org.apache.ibatis.exceptions.PersistenceException failure, List<DbOperation> failedOperations) This method can be called with three cases: Case 1: Success.protected void
BatchDbSqlSession.postProcessJdbcBatchResult
(Iterator<DbOperation> operationsIt, int[] statementResults, org.apache.ibatis.exceptions.PersistenceException failure, List<DbOperation> failedOperations) This method can be called with three cases: Case 1: Success. -
Uses of DbOperation in org.camunda.bpm.engine.impl.history.event
Modifier and TypeMethodDescriptionMap<Class<? extends DbEntity>,
DbOperation> HistoricDecisionInstanceManager.addRemovalTimeToDecisionsByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize, Set<String> entities) Map<Class<? extends DbEntity>,
DbOperation> HistoricDecisionInstanceManager.addRemovalTimeToDecisionsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize, Set<String> entities) Map<Class<? extends DbEntity>,
DbOperation> HistoricDecisionInstanceManager.deleteHistoricDecisionsByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) -
Uses of DbOperation in org.camunda.bpm.engine.impl.jobexecutor.historycleanup
Modifier and TypeFieldDescriptionprotected Map<Class<? extends DbEntity>,
DbOperation> HistoryCleanupRemovalTime.deleteOperations
Modifier and TypeMethodDescriptionprotected DbOperation
HistoryCleanupRemovalTime.performBatchCleanup()
protected DbOperation
HistoryCleanupRemovalTime.performTaskMetricsCleanup()
Modifier and TypeMethodDescriptionprotected Map<Class<? extends DbEntity>,
DbOperation> HistoryCleanupRemovalTime.performDmnCleanup()
protected Map<Class<? extends DbEntity>,
DbOperation> HistoryCleanupRemovalTime.performProcessCleanup()
-
Uses of DbOperation in org.camunda.bpm.engine.impl.persistence
Modifier and TypeMethodDescriptionprotected static void
AbstractHistoricManager.addOperation
(DbOperation operation, Map<Class<? extends DbEntity>, DbOperation> operations) Modifier and TypeMethodDescriptionprotected static void
AbstractHistoricManager.addOperation
(Collection<DbOperation> newOperations, Map<Class<? extends DbEntity>, DbOperation> operations) protected static void
AbstractHistoricManager.addOperation
(Collection<DbOperation> newOperations, Map<Class<? extends DbEntity>, DbOperation> operations) protected static void
AbstractHistoricManager.addOperation
(DbOperation operation, Map<Class<? extends DbEntity>, DbOperation> operations) -
Uses of DbOperation in org.camunda.bpm.engine.impl.persistence.entity
Modifier and TypeMethodDescriptionHistoricActivityInstanceManager.addRemovalTimeToActivityInstancesByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) HistoricActivityInstanceManager.addRemovalTimeToActivityInstancesByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) AttachmentManager.addRemovalTimeToAttachmentsByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) AttachmentManager.addRemovalTimeToAttachmentsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) AuthorizationManager.addRemovalTimeToAuthorizationsByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) AuthorizationManager.addRemovalTimeToAuthorizationsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) ByteArrayManager.addRemovalTimeToByteArraysByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) CommentManager.addRemovalTimeToCommentsByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) CommentManager.addRemovalTimeToCommentsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) HistoricDetailManager.addRemovalTimeToDetailsByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) HistoricDetailManager.addRemovalTimeToDetailsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) HistoricExternalTaskLogManager.addRemovalTimeToExternalTaskLogByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) HistoricExternalTaskLogManager.addRemovalTimeToExternalTaskLogByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) HistoricIdentityLinkLogManager.addRemovalTimeToIdentityLinkLogByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) HistoricIdentityLinkLogManager.addRemovalTimeToIdentityLinkLogByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) HistoricIncidentManager.addRemovalTimeToIncidentsByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) HistoricIncidentManager.addRemovalTimeToIncidentsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) HistoricJobLogManager.addRemovalTimeToJobLogByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) HistoricJobLogManager.addRemovalTimeToJobLogByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) HistoricTaskInstanceManager.addRemovalTimeToTaskInstancesByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) HistoricTaskInstanceManager.addRemovalTimeToTaskInstancesByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) UserOperationLogManager.addRemovalTimeToUserOperationLogByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) UserOperationLogManager.addRemovalTimeToUserOperationLogByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) HistoricVariableInstanceManager.addRemovalTimeToVariableInstancesByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) HistoricVariableInstanceManager.addRemovalTimeToVariableInstancesByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) AttachmentManager.deleteAttachmentsByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) AuthorizationManager.deleteAuthorizationsByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) ByteArrayManager.deleteByteArraysByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) CommentManager.deleteCommentsByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) HistoricExternalTaskLogManager.deleteExternalTaskLogByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) HistoricActivityInstanceManager.deleteHistoricActivityInstancesByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) HistoricBatchManager.deleteHistoricBatchesByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) HistoricDetailManager.deleteHistoricDetailsByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) HistoricIdentityLinkLogManager.deleteHistoricIdentityLinkLogByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) HistoricIncidentManager.deleteHistoricIncidentsByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) HistoricTaskInstanceManager.deleteHistoricTaskInstancesByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) HistoricVariableInstanceManager.deleteHistoricVariableInstancesByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) HistoricJobLogManager.deleteJobLogByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) UserOperationLogManager.deleteOperationLogByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) MeterLogManager.deleteTaskMetricsByRemovalTime
(Date currentTimestamp, Integer timeToLive, int minuteFrom, int minuteTo, int batchSize) Modifier and TypeMethodDescriptionMap<Class<? extends DbEntity>,
DbOperation> HistoricProcessInstanceManager.addRemovalTimeById
(String processInstanceId, Date removalTime, Integer batchSize, Set<String> entities) ByteArrayManager.addRemovalTimeToByteArraysByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) Map<Class<? extends DbEntity>,
DbOperation> HistoricProcessInstanceManager.addRemovalTimeToProcessInstancesByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize, Set<String> entities) Map<Class<? extends DbEntity>,
DbOperation> HistoricProcessInstanceManager.deleteHistoricProcessInstancesByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize)