@Service(value="archivaTaskScheduler#indexing") public class IndexingArchivaTaskScheduler extends Object implements ArchivaTaskScheduler<ArtifactIndexingTask>
Modifier and Type | Field and Description |
---|---|
private org.apache.archiva.redback.components.taskqueue.TaskQueue |
indexingQueue |
private org.slf4j.Logger |
log |
Constructor and Description |
---|
IndexingArchivaTaskScheduler() |
Modifier and Type | Method and Description |
---|---|
void |
queueTask(ArtifactIndexingTask task)
Adds the task to the scanning queue.
|
private org.slf4j.Logger log
@Inject @Named(value="taskQueue#indexing") private org.apache.archiva.redback.components.taskqueue.TaskQueue indexingQueue
public IndexingArchivaTaskScheduler()
public void queueTask(ArtifactIndexingTask task) throws org.apache.archiva.redback.components.taskqueue.TaskQueueException
ArchivaTaskScheduler
queueTask
in interface ArchivaTaskScheduler<ArtifactIndexingTask>
org.apache.archiva.redback.components.taskqueue.TaskQueueException
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.