org.exoplatform.services.jcr.ext.backup.impl.fs
Class IncrementalBackupJob
java.lang.Object
org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
org.exoplatform.services.jcr.ext.backup.impl.AbstractIncrementalBackupJob
org.exoplatform.services.jcr.ext.backup.impl.fs.IncrementalBackupJob
- All Implemented Interfaces:
- Runnable, ItemsPersistenceListener, BackupJob
public class IncrementalBackupJob
- extends AbstractIncrementalBackupJob
Created by The eXo Platform SARL Author : Alex Reshetnyak alex.reshetnyak@exoplatform.com.ua Nov
20, 2007
|
Field Summary |
protected static org.exoplatform.services.log.Log |
LOG
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.exoplatform.services.log.Log LOG
IncrementalBackupJob
public IncrementalBackupJob()
init
public void init(ManageableRepository repository,
String workspaceName,
BackupConfig config,
Calendar timeStamp)
- Description copied from interface:
BackupJob
- Initialize.
- Parameters:
repository - ManageableRepository, the manageable repositoryworkspaceName - String, the workspace nameconfig - BackupConfig, the backup configtimeStamp - Calendar, the time stamp
stop
public void stop()
- Description copied from interface:
BackupJob
- Call stop of job.
createStorage
protected URL createStorage()
throws FileNotFoundException,
IOException
- Description copied from class:
AbstractBackupJob
- This method is called by run() and resume() Backup implementation knows how to create new
storage
- Specified by:
createStorage in class AbstractBackupJob
- Returns:
- URL of new storage
- Throws:
FileNotFoundException
IOException
save
protected void save(ItemStateChangesLog persistentLog)
throws IOException
- Description copied from class:
AbstractIncrementalBackupJob
- Implementation specific saving
- Specified by:
save in class AbstractIncrementalBackupJob
- Throws:
IOException
writeExternal
public void writeExternal(ObjectOutputStream out,
TransactionChangesLog changesLog,
FileCleaner fileCleaner)
throws IOException
- Throws:
IOException
isTXAware
public boolean isTXAware()
-
Copyright © 2013 eXo Platform SAS. All Rights Reserved.