public class HistoryCleanupJobHandler extends Object implements JobHandler<HistoryCleanupJobHandlerConfiguration>
| Constructor and Description |
|---|
HistoryCleanupJobHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(HistoryCleanupJobHandlerConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId) |
Integer |
getBatchSizeThreshold(CommandContext commandContext) |
String |
getType() |
HistoryCleanupJobHandlerConfiguration |
newConfiguration(String canonicalString) |
void |
onDelete(HistoryCleanupJobHandlerConfiguration configuration,
JobEntity jobEntity)
Clean up before job is deleted.
|
public static final String TYPE
public String getType()
getType in interface JobHandler<HistoryCleanupJobHandlerConfiguration>public void execute(HistoryCleanupJobHandlerConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
execute in interface JobHandler<HistoryCleanupJobHandlerConfiguration>public HistoryCleanupJobHandlerConfiguration newConfiguration(String canonicalString)
newConfiguration in interface JobHandler<HistoryCleanupJobHandlerConfiguration>public void onDelete(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity)
JobHandleronDelete in interface JobHandler<HistoryCleanupJobHandlerConfiguration>configuration - the job handler configurationjobEntity - the job entity to be deletedpublic Integer getBatchSizeThreshold(CommandContext commandContext)
Copyright © 2018 camunda services GmbH. All rights reserved.