org.apache.archiva.scheduler.indexing
Class IndexingArchivaTaskScheduler

java.lang.Object
  extended by org.apache.archiva.scheduler.indexing.IndexingArchivaTaskScheduler
All Implemented Interfaces:
ArchivaTaskScheduler<ArtifactIndexingTask>

@Service(value="archivaTaskScheduler#indexing")
public class IndexingArchivaTaskScheduler
extends Object
implements ArchivaTaskScheduler<ArtifactIndexingTask>

Default implementation of a scheduling component for archiva.

To Do:
TODO - consider just folding in, not really scheduled

Field Summary
private  org.apache.archiva.redback.components.taskqueue.TaskQueue indexingQueue
           
private  org.slf4j.Logger log
           
 
Constructor Summary
IndexingArchivaTaskScheduler()
           
 
Method Summary
 void queueTask(ArtifactIndexingTask task)
          Adds the task to the scanning queue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private org.slf4j.Logger log

indexingQueue

@Inject
@Named(value="taskQueue#indexing")
private org.apache.archiva.redback.components.taskqueue.TaskQueue indexingQueue
Constructor Detail

IndexingArchivaTaskScheduler

public IndexingArchivaTaskScheduler()
Method Detail

queueTask

public void queueTask(ArtifactIndexingTask task)
               throws org.apache.archiva.redback.components.taskqueue.TaskQueueException
Description copied from interface: ArchivaTaskScheduler
Adds the task to the scanning queue.

Specified by:
queueTask in interface ArchivaTaskScheduler<ArtifactIndexingTask>
Throws:
org.apache.archiva.redback.components.taskqueue.TaskQueueException


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.