Class HistoryCleanupHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.historycleanup.HistoryCleanupHandler
-
- All Implemented Interfaces:
TransactionListener
- Direct Known Subclasses:
HistoryCleanupBatch
,HistoryCleanupRemovalTime
public abstract class HistoryCleanupHandler extends java.lang.Object implements TransactionListener
- Author:
- Tassilo Weidner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
HistoryCleanupHandler.HistoryCleanupHandlerCmd
-
Field Summary
Fields Modifier and Type Field Description protected CommandExecutor
commandExecutor
protected HistoryCleanupJobHandlerConfiguration
configuration
protected java.lang.String
jobId
static int
MAX_BATCH_SIZE
Maximum allowed batch size.
-
Constructor Summary
Constructors Constructor Description HistoryCleanupHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(CommandContext commandContext)
HistoryCleanupJobHandlerConfiguration
getConfiguration()
HistoryCleanupHandler
setCommandExecutor(CommandExecutor commandExecutor)
HistoryCleanupHandler
setConfiguration(HistoryCleanupJobHandlerConfiguration configuration)
HistoryCleanupHandler
setJobId(java.lang.String jobId)
-
-
-
Field Detail
-
MAX_BATCH_SIZE
public static final int MAX_BATCH_SIZE
Maximum allowed batch size.- See Also:
- Constant Field Values
-
configuration
protected HistoryCleanupJobHandlerConfiguration configuration
-
jobId
protected java.lang.String jobId
-
commandExecutor
protected CommandExecutor commandExecutor
-
-
Method Detail
-
execute
public void execute(CommandContext commandContext)
- Specified by:
execute
in interfaceTransactionListener
-
getConfiguration
public HistoryCleanupJobHandlerConfiguration getConfiguration()
-
setConfiguration
public HistoryCleanupHandler setConfiguration(HistoryCleanupJobHandlerConfiguration configuration)
-
setJobId
public HistoryCleanupHandler setJobId(java.lang.String jobId)
-
setCommandExecutor
public HistoryCleanupHandler setCommandExecutor(CommandExecutor commandExecutor)
-
-