Package org.camunda.bpm.engine.impl.cmd
Class HistoryCleanupCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.HistoryCleanupCmd
- Author:
- Svetlana Dorokhova
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
acquireExclusiveLock
(CommandContext commandContext) protected HistoryCleanupContext
createCleanupContext
(int[] minuteChunk, int maxRetries) protected JobEntity
createJob
(int[] minuteChunk, int maxRetries) createJobs
(int[][] minuteChunks) execute
(CommandContext context) reconfigureJobs
(List<Job> historyCleanupJobs, int degreeOfParallelism, int[][] minuteChunks) protected boolean
shouldCreateJobs
(List<Job> jobs) protected boolean
shouldReconfigureJobs
(List<Job> jobs) protected boolean
shouldSuspendJobs
(List<Job> jobs) protected void
suspendJobs
(List<Job> jobs) protected boolean
protected void
writeUserOperationLog
(CommandContext commandContext)
-
Field Details
-
HISTORY_CLEANUP_JOB_DECLARATION
-
MAX_THREADS_NUMBER
public static final int MAX_THREADS_NUMBER- See Also:
-
-
Constructor Details
-
HistoryCleanupCmd
public HistoryCleanupCmd(boolean immediatelyDue)
-
-
Method Details