org.exist.storage.sync
Class SyncTask
java.lang.Object
org.exist.storage.sync.SyncTask
- All Implemented Interfaces:
- SystemTask
public class SyncTask
- extends Object
- implements SystemTask
SyncTask
public SyncTask()
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.