|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.backup.impl.BackupScheduler
public class BackupScheduler
Created by The eXo Platform SAS.
| Nested Class Summary | |
|---|---|
static class |
BackupScheduler.TaskStatus
|
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
|
| Method Summary | |
|---|---|
org.exoplatform.services.jcr.ext.backup.impl.BackupScheduler.SchedulerTask |
findTask(java.lang.String repository,
java.lang.String workspace)
Search task by repository and workspace names |
BackupMessage[] |
getErrors()
|
void |
schedule(BackupConfig config,
java.util.Date startTime,
java.util.Date stopTime,
long chainPeriod,
long incrementalPeriod)
Schedule backup task with given configuration and scheduler parameters. |
void |
schedule(BackupConfig config,
java.util.Date startTime,
java.util.Date stopTime,
long chainPeriod,
long incrementalPeriod,
BackupJobListener listener)
Schedule backup task with given configuration and scheduler parameters. |
boolean |
unschedule(BackupConfig config)
Unshedule the task scheduled before with the given configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.commons.logging.Log log
| Method Detail |
|---|
public BackupMessage[] getErrors()
public void schedule(BackupConfig config,
java.util.Date startTime,
java.util.Date stopTime,
long chainPeriod,
long incrementalPeriod)
throws BackupSchedulerException
config - startTime - - task start timestopTime - - task stop time, may be null i.e. the task will be executed foreverchainPeriod - - task chain period, means periodic execution of the configured backup chainincrementalPeriod - - incr periodlistener - - listener for each job produced by an each backup chain
BackupSchedulerException
public void schedule(BackupConfig config,
java.util.Date startTime,
java.util.Date stopTime,
long chainPeriod,
long incrementalPeriod,
BackupJobListener listener)
throws BackupSchedulerException
config - startTime - - task start timestopTime - - task stop time, may be null i.e. the task will be executed foreverchainPeriod - - task chain period, means periodic execution of the configured backup chainincrementalPeriod - - incr periodlistener - - listener for each job produced by an each backup chain
BackupSchedulerException
public org.exoplatform.services.jcr.ext.backup.impl.BackupScheduler.SchedulerTask findTask(java.lang.String repository,
java.lang.String workspace)
repository - - name stringworkspace - - name string
public boolean unschedule(BackupConfig config)
throws BackupSchedulerException
config - - configuration used for a task search
BackupSchedulerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||