com.atlassian.confluence.search.lucene
Class DefaultObjectQueueWorker
java.lang.Object
com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker
- All Implemented Interfaces:
- Runnable
public class DefaultObjectQueueWorker
- extends Object
- implements 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.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
run
public final void run()
- Specified by:
run
in interface Runnable