public abstract class HistoryCleanupHandler extends Object implements TransactionListener
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected HistoryCleanupJobHandlerConfiguration |
configuration |
protected boolean |
isRescheduleNow |
protected String |
jobId |
static int |
MAX_BATCH_SIZE
Maximum allowed batch size.
|
protected Map<String,Long> |
report |
| Constructor and Description |
|---|
HistoryCleanupHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CommandContext commandContext) |
HistoryCleanupJobHandlerConfiguration |
getConfiguration() |
protected void |
reportValue(String name,
long value) |
HistoryCleanupHandler |
setCommandExecutor(CommandExecutor commandExecutor) |
HistoryCleanupHandler |
setConfiguration(HistoryCleanupJobHandlerConfiguration configuration) |
HistoryCleanupHandler |
setJobId(String jobId) |
void |
setRescheduleNow(boolean rescheduleNow) |
public static final int MAX_BATCH_SIZE
protected HistoryCleanupJobHandlerConfiguration configuration
protected String jobId
protected CommandExecutor commandExecutor
protected boolean isRescheduleNow
public void execute(CommandContext commandContext)
execute in interface TransactionListenerprotected void reportValue(String name, long value)
public HistoryCleanupJobHandlerConfiguration getConfiguration()
public HistoryCleanupHandler setConfiguration(HistoryCleanupJobHandlerConfiguration configuration)
public HistoryCleanupHandler setJobId(String jobId)
public HistoryCleanupHandler setCommandExecutor(CommandExecutor commandExecutor)
public void setRescheduleNow(boolean rescheduleNow)
Copyright © 2018 camunda services GmbH. All rights reserved.