public abstract class HistoryCleanupHandler extends Object implements TransactionListener
Modifier and Type | Field and Description |
---|---|
protected CommandExecutor |
commandExecutor |
protected HistoryCleanupJobHandlerConfiguration |
configuration |
protected String |
jobId |
static int |
MAX_BATCH_SIZE
Maximum allowed batch size.
|
Constructor and Description |
---|
HistoryCleanupHandler() |
Modifier and Type | Method and Description |
---|---|
void |
execute(CommandContext commandContext) |
HistoryCleanupJobHandlerConfiguration |
getConfiguration() |
HistoryCleanupHandler |
setCommandExecutor(CommandExecutor commandExecutor) |
HistoryCleanupHandler |
setConfiguration(HistoryCleanupJobHandlerConfiguration configuration) |
HistoryCleanupHandler |
setJobId(String jobId) |
public static final int MAX_BATCH_SIZE
protected HistoryCleanupJobHandlerConfiguration configuration
protected String jobId
protected CommandExecutor commandExecutor
public void execute(CommandContext commandContext)
execute
in interface TransactionListener
public HistoryCleanupJobHandlerConfiguration getConfiguration()
public HistoryCleanupHandler setConfiguration(HistoryCleanupJobHandlerConfiguration configuration)
public HistoryCleanupHandler setJobId(String jobId)
public HistoryCleanupHandler setCommandExecutor(CommandExecutor commandExecutor)
Copyright © 2022. All rights reserved.