org.apache.archiva.scheduler.indexing
Class IndexingArchivaTaskScheduler
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private org.slf4j.Logger log
indexingQueue
@Inject
@Named(value="taskQueue#indexing")
private org.apache.archiva.redback.components.taskqueue.TaskQueue indexingQueue
IndexingArchivaTaskScheduler
public IndexingArchivaTaskScheduler()
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.