org.exist.storage
Class DataBackup

java.lang.Object
  extended by org.exist.storage.DataBackup
All Implemented Interfaces:
SystemTask

public class DataBackup
extends Object
implements SystemTask


Constructor Summary
DataBackup()
           
DataBackup(String destination)
           
 
Method Summary
 boolean afterCheckpoint()
           
 void configure(Configuration config, Properties properties)
           
 void execute(DBBroker broker)
          Execute this task.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataBackup

public DataBackup()

DataBackup

public DataBackup(String destination)
Method Detail

afterCheckpoint

public boolean afterCheckpoint()
Specified by:
afterCheckpoint in interface SystemTask
Returns:
true if a checkpoint should be generated before this system task runs. A checkpoint guarantees that all changes were written to disk.

configure

public void configure(Configuration config,
                      Properties properties)
               throws EXistException
Specified by:
configure in interface SystemTask
Throws:
EXistException

execute

public void execute(DBBroker broker)
             throws EXistException
Description copied from interface: SystemTask
Execute this task.

Specified by:
execute in interface SystemTask
Parameters:
broker - a DBBroker object that can be used
Throws:
EXistException


Copyright (C) Wolfgang Meier. All rights reserved.