public class IncrementalBackupJob extends AbstractIncrementalBackupJob
| Modifier and Type | Field and Description |
|---|---|
protected static org.exoplatform.services.log.Log |
LOG |
latcher, suspendBuffer, workingThreadsconfig, id, repository, state, timeStamp, url, workspaceName| Constructor and Description |
|---|
IncrementalBackupJob() |
| Modifier and Type | Method and Description |
|---|---|
protected URL |
createStorage()
This method is called by run() and resume() Backup implementation knows how to create new
storage
|
void |
init(ManageableRepository repository,
String workspaceName,
BackupConfig config,
Calendar timeStamp)
Initialize.
|
boolean |
isTXAware() |
protected void |
save(ItemStateChangesLog persistentLog)
Implementation specific saving
|
void |
stop()
Call stop of job.
|
void |
writeExternal(ObjectOutputStream out,
TransactionChangesLog changesLog,
FileCleaner fileCleaner) |
getType, onSaveItems, resume, run, suspendaddListener, getId, getState, getStorageURL, notifyError, notifyListeners, removeListenerpublic void init(ManageableRepository repository, String workspaceName, BackupConfig config, Calendar timeStamp)
BackupJobrepository - ManageableRepository, the manageable repositoryworkspaceName - String, the workspace nameconfig - BackupConfig, the backup configtimeStamp - Calendar, the time stamppublic void stop()
BackupJobprotected URL createStorage() throws FileNotFoundException, IOException
AbstractBackupJobcreateStorage in class AbstractBackupJobFileNotFoundExceptionIOExceptionprotected void save(ItemStateChangesLog persistentLog) throws IOException
AbstractIncrementalBackupJobsave in class AbstractIncrementalBackupJobIOExceptionpublic void writeExternal(ObjectOutputStream out, TransactionChangesLog changesLog, FileCleaner fileCleaner) throws IOException
IOExceptionpublic boolean isTXAware()
Copyright © 2017 eXo Platform SAS. All Rights Reserved.