org.apache.directory.mitosis.service
Class ReplicationLogCleanJob

java.lang.Object
  extended by org.apache.directory.mitosis.service.ReplicationLogCleanJob
All Implemented Interfaces:
org.quartz.Job

public class ReplicationLogCleanJob
extends java.lang.Object
implements org.quartz.Job

A OpenSymphony Quartz Job that purges old replication logs and the old entries marked as 'deleted' (i.e. Constants.ENTRY_DELETED is TRUE). This Job just calls ReplicationInterceptor.purgeAgedData() to purge old data.

Author:
The Apache Directory Project Team

Field Summary
static java.lang.String INSTANCE_ID
           
 
Constructor Summary
ReplicationLogCleanJob(java.util.Map<java.lang.String,DirectoryService> services)
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE_ID

public static final java.lang.String INSTANCE_ID
See Also:
Constant Field Values
Constructor Detail

ReplicationLogCleanJob

public ReplicationLogCleanJob(java.util.Map<java.lang.String,DirectoryService> services)
Method Detail

execute

public void execute(org.quartz.JobExecutionContext ctx)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.