|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.backends.task.Task
org.opends.server.tasks.InitializeTargetTask
public class InitializeTargetTask
This class provides an implementation of a Directory Server task that can be used to import data from an LDIF file into a backend.
| Constructor Summary | |
|---|---|
InitializeTargetTask()
|
|
| Method Summary | |
|---|---|
Message |
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 |
setLeft(long left)
Set the total number of entries still to be exported. |
void |
setTotal(long total)
Set the total number of entries expected to be exported. |
| Methods inherited from class org.opends.server.backends.task.Task |
|---|
addLogMessage, compareTo, execute, getActualStartTime, getAttributeDisplayName, getCompletionTime, getDependencyIDs, getFailedDependencyAction, getFinalTaskState, getLogMessages, getNotifyOnCompletionAddresses, getNotifyOnErrorAddresses, getOperation, getRecurringTaskID, getScheduledStartTime, getTaskEntry, getTaskEntryDN, getTaskID, getTaskInterruptState, getTaskState, initializeTaskInternal, interruptTask, isCancelled, isInterruptable, logError, replaceAttributeValue, setOperation, setTaskInterruptState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InitializeTargetTask()
| Method Detail |
|---|
public Message getDisplayName()
getDisplayName in class Task
public void initializeTask()
throws DirectoryException
initializeTask in class TaskDirectoryException - If a problem occurs during initialization that
should be returned to the client.protected TaskState runTask()
runTask in class Task
public void setTotal(long total)
throws DirectoryException
total - The total number of entries.
DirectoryException - when a problem occurs
public void setLeft(long left)
throws DirectoryException
left - The total number of entries to be exported.
DirectoryException - when a problem occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||