This project has retired. For details please refer to its Attic page.
ArchivaIndexingTaskExecutor

org.apache.maven.archiva.scheduled.executors
Class ArchivaIndexingTaskExecutor

Package class diagram package ArchivaIndexingTaskExecutor
java.lang.Object
  extended by org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
All Implemented Interfaces:
org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.taskqueue.execution.TaskExecutor

public class ArchivaIndexingTaskExecutor
extends java.lang.Object
implements org.codehaus.plexus.taskqueue.execution.TaskExecutor, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

ArchivaIndexingTaskExecutor Executes all indexing tasks. Adding, updating and removing artifacts from the index are all performed by this executor. Add and update artifact in index tasks are added in the indexing task queue by the NexusIndexerConsumer while remove artifact from index tasks are added by the LuceneCleanupRemoveIndexedConsumer.


Constructor Summary
ArchivaIndexingTaskExecutor()
           
 
Method Summary
 void executeTask(org.codehaus.plexus.taskqueue.Task task)
           
 void initialize()
           
 void setIndexerEngine(org.sonatype.nexus.index.IndexerEngine indexerEngine)
           
 void setIndexPacker(org.sonatype.nexus.index.packer.IndexPacker indexPacker)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchivaIndexingTaskExecutor

public ArchivaIndexingTaskExecutor()
Method Detail

executeTask

public void executeTask(org.codehaus.plexus.taskqueue.Task task)
                 throws org.codehaus.plexus.taskqueue.execution.TaskExecutionException
Specified by:
executeTask in interface org.codehaus.plexus.taskqueue.execution.TaskExecutor
Throws:
org.codehaus.plexus.taskqueue.execution.TaskExecutionException

initialize

public void initialize()
                throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException

setIndexerEngine

public void setIndexerEngine(org.sonatype.nexus.index.IndexerEngine indexerEngine)

setIndexPacker

public void setIndexPacker(org.sonatype.nexus.index.packer.IndexPacker indexPacker)