public class PurgeConflictsHistoricalTask extends Task
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_DURATION
The default value for the maximum duration of the purge expressed in seconds.
|
Constructor and Description |
---|
PurgeConflictsHistoricalTask() |
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
getDisplayName()
Gets a message that identifies this type of task suitable for presentation to humans in monitoring tools.
|
void |
initializeTask()
Performs any task-specific initialization that may be required before processing can start.
|
protected TaskState |
runTask()
Performs the actual core processing for this task.
|
void |
setProgressStats(CSN lastCSN,
int purgeCount)
Set the last CSN purged and the count of purged values in order to monitor the historical purge.
|
addLogMessage, addLogMessage, compareTo, execute, getActualStartTime, getAttributeDisplayName, getCompletionTime, getDependencyIDs, getFailedDependencyAction, getFinalTaskState, getLogMessages, getNotifyOnCompletionAddresses, getNotifyOnErrorAddresses, getOperation, getRecurringTaskID, getScheduledStartTime, getServerContext, getTaskEntry, getTaskEntryDN, getTaskID, getTaskInterruptState, getTaskState, initializeTaskInternal, interruptTask, isCancelled, isInterruptable, isRecurring, replaceAttributeValue, sendNotificationEMailMessage, setCompletionTime, setOperation, setTaskInterruptState
public static final int DEFAULT_MAX_DURATION
public LocalizableMessage getDisplayName()
Task
getDisplayName
in class Task
public void initializeTask() throws LdapException
Task
initializeTask
in class Task
LdapException
- If a problem occurs during initialization that should be returned to the client.protected TaskState runTask()
Task
public void setProgressStats(CSN lastCSN, int purgeCount)
lastCSN
- the last CSN purged.purgeCount
- the count of purged values.Copyright 2010-2022 ForgeRock AS.