org.exist.storage.sync
Class SyncTask

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

public class SyncTask
extends Object
implements SystemTask


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

Constructor Detail

SyncTask

public SyncTask()
Method Detail

getJobName

public static String getJobName()

getJobGroup

public static String getJobGroup()

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.