org.exist.storage
Interface SystemTask

All Known Implementing Classes:
BackupSystemTask, ConsistencyCheckTask, DataBackup

public interface SystemTask

Interface to be implemented by tasks used for system maintenance. System tasks require the database to be in a consistent state. All database operations will be stopped until the execute(DBBroker) method returned or throws an exception. Any exception will be caught and a warning written to the log. A task can be scheduled for execution via BrokerPool.triggerSystemTask(SystemTask)

Author:
wolf

Method Summary
 void configure(Configuration config, Properties properties)
           
 void execute(DBBroker broker)
          Execute this task.
 

Method Detail

configure

void configure(Configuration config,
               Properties properties)
               throws EXistException
Throws:
EXistException

execute

void execute(DBBroker broker)
             throws EXistException
Execute this task.

Parameters:
broker - a DBBroker object that can be used
Throws:
EXistException


Copyright (C) Wolfgang Meier. All rights reserved.