public abstract class AbstractSynchronize extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.cli.Options |
getOptions()
Get options against which the command line is analyzed.
|
abstract Task |
getTask(String taskName) |
String |
getTaskFullStatus(String syncName) |
abstract Task[] |
getTasks() |
int |
getThreads()
Parallel synchronizing threads accessor
|
int |
getTimeLimit()
Time limit accessor
|
abstract boolean |
isAsynchronousTask(String taskName) |
boolean |
isAsynchronousTaskRunning(String syncName) |
boolean |
parseOptions(org.apache.commons.cli.CommandLine cmdLine)
Parse the command line arguments according the selected filter.
|
void |
setThreads(int threads)
Parallel synchronizing threads accessor
|
void |
setTimeLimit(int timeLimit)
Time limit accessor
|
void |
shutdownAsynchronousSynchronize2Ldap(String syncName,
boolean forceStop) |
void |
startAsynchronousSynchronize2Ldap(Task task) |
public final void startAsynchronousSynchronize2Ldap(Task task)
public final void shutdownAsynchronousSynchronize2Ldap(String syncName, boolean forceStop)
public final boolean isAsynchronousTaskRunning(String syncName)
public abstract boolean isAsynchronousTask(String taskName)
public abstract Task[] getTasks()
public final boolean parseOptions(org.apache.commons.cli.CommandLine cmdLine)
cmdLine
- Command line optionspublic static final org.apache.commons.cli.Options getOptions()
public int getThreads()
public void setThreads(int threads)
threads
- the number of parallels threads dedicated to tasks
synchronizationpublic int getTimeLimit()
public void setTimeLimit(int timeLimit)
timeLimit
- number of secondsCopyright © 2005-2024 LSC project. All Rights Reserved.