com.atlassian.confluence.search.lucene
Class DefaultObjectQueueWorker

java.lang.Object
  extended by com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker
All Implemented Interfaces:
java.lang.Runnable

public class DefaultObjectQueueWorker
extends java.lang.Object
implements java.lang.Runnable

Responsible for retrieving work from an ObjectQueue and processing it. This is being used primarily to parallelise the processing of the rebuild index work queue.


Constructor Summary
DefaultObjectQueueWorker(ObjectQueue objectQueue, IndexTaskFactory indexTaskFactory, com.atlassian.core.util.ProgressWrapper progressWrapper, IndexTaskPerformer indexTaskPerformer, org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultObjectQueueWorker

public DefaultObjectQueueWorker(ObjectQueue objectQueue,
                                IndexTaskFactory indexTaskFactory,
                                com.atlassian.core.util.ProgressWrapper progressWrapper,
                                IndexTaskPerformer indexTaskPerformer,
                                org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
Parameters:
objectQueue - Must be thread safe.
Method Detail

run

public final void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2003-2010 Atlassian. All Rights Reserved.