org.exoplatform.services.jcr.ext.backup.impl.fs
Class IncrementalBackupJob

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
      extended by org.exoplatform.services.jcr.ext.backup.impl.AbstractIncrementalBackupJob
          extended by org.exoplatform.services.jcr.ext.backup.impl.fs.IncrementalBackupJob
All Implemented Interfaces:
java.lang.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.apache.commons.logging.Log log
           
 
Fields inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractIncrementalBackupJob
suspendBuffer
 
Fields inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
config, id, repository, state, timeStamp, url, workspaceName
 
Fields inherited from interface org.exoplatform.services.jcr.ext.backup.BackupJob
FINISHED, FULL, INCREMENTAL, STARTING, WAITING, WORKING
 
Constructor Summary
IncrementalBackupJob()
           
 
Method Summary
protected  java.net.URL createStorage()
          This method is called by run() and resume() Backup implementation knows how to create new storage
 void init(ManageableRepository repository, java.lang.String workspaceName, BackupConfig config, java.util.Calendar timeStamp)
           
protected  void save(ItemStateChangesLog persistentLog)
          Implementation specific saving
 void stop()
           
 void writeExternal(java.io.ObjectOutputStream out, TransactionChangesLog changesLog, FileCleaner fileCleaner)
           
 
Methods inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractIncrementalBackupJob
getType, onSaveItems, resume, run, suspend
 
Methods inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
addListener, getId, getState, getStorageURL, notifyError, notifyListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

IncrementalBackupJob

public IncrementalBackupJob()
Method Detail

init

public void init(ManageableRepository repository,
                 java.lang.String workspaceName,
                 BackupConfig config,
                 java.util.Calendar timeStamp)

stop

public void stop()

createStorage

protected java.net.URL createStorage()
                              throws java.io.FileNotFoundException,
                                     java.io.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:
java.io.FileNotFoundException
java.io.IOException

save

protected void save(ItemStateChangesLog persistentLog)
             throws java.io.IOException
Description copied from class: AbstractIncrementalBackupJob
Implementation specific saving

Specified by:
save in class AbstractIncrementalBackupJob
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutputStream out,
                          TransactionChangesLog changesLog,
                          FileCleaner fileCleaner)
                   throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2012 eXo Platform SAS. All Rights Reserved.