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(org.exoplatform.services.jcr.core.ManageableRepository repository,
String workspaceName,
BackupConfig config,
Calendar timeStamp)
Initialize.
|
boolean |
isTXAware() |
protected void |
save(org.exoplatform.services.jcr.dataflow.ItemStateChangesLog persistentLog)
Implementation specific saving
|
void |
stop()
Call stop of job.
|
void |
writeExternal(ObjectOutputStream out,
org.exoplatform.services.jcr.dataflow.TransactionChangesLog changesLog,
org.exoplatform.services.jcr.impl.util.io.FileCleaner fileCleaner) |
getType, onSaveItems, resume, run, suspendaddListener, getId, getState, getStorageURL, notifyError, notifyListeners, removeListenerpublic void init(org.exoplatform.services.jcr.core.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(org.exoplatform.services.jcr.dataflow.ItemStateChangesLog persistentLog)
throws IOException
AbstractIncrementalBackupJobsave in class AbstractIncrementalBackupJobIOExceptionpublic void writeExternal(ObjectOutputStream out, org.exoplatform.services.jcr.dataflow.TransactionChangesLog changesLog, org.exoplatform.services.jcr.impl.util.io.FileCleaner fileCleaner) throws IOException
IOExceptionpublic boolean isTXAware()
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.