com.atlassian.confluence.search.lucene
Class IndexQueueCleaner

java.lang.Object
  extended by org.springframework.scheduling.quartz.QuartzJobBean
      extended by com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean
          extended by com.atlassian.confluence.search.lucene.IndexQueueCleaner
All Implemented Interfaces:
org.quartz.Job

public class IndexQueueCleaner
extends AbstractClusterAwareQuartzJobBean

This job is responsible for periodically triggering an Index Queue clean to ensure that size of the index queue does NOT grow indefinitely.


Constructor Summary
IndexQueueCleaner()
           
 
Method Summary
 void executeJob(org.quartz.JobExecutionContext context)
           
 void setTaskQueue(IndexTaskQueue queue)
          Required resource.
 
Methods inherited from class com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean
executeInternal, setClusterManager
 
Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexQueueCleaner

public IndexQueueCleaner()
Method Detail

executeJob

public void executeJob(org.quartz.JobExecutionContext context)
                throws org.quartz.JobExecutionException
Specified by:
executeJob in class AbstractClusterAwareQuartzJobBean
Throws:
org.quartz.JobExecutionException

setTaskQueue

public void setTaskQueue(IndexTaskQueue queue)
Required resource.

Parameters:
queue -


Copyright © 2003-2014 Atlassian. All Rights Reserved.