|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ArchivaTaskScheduler
The component that takes care of scheduling in the application.
| Field Summary | |
|---|---|
static String |
ROLE
The Plexus component role. |
| Method Summary | |
|---|---|
boolean |
isProcessingDatabaseTask()
Checks if there is any database scanning task queued. |
boolean |
isProcessingRepositoryTask(String repositoryId)
Checks if a repository scanning task for the specified repository is queued. |
void |
queueDatabaseTask(DatabaseTask task)
Adds the database task to the database scanning queue. |
void |
queueIndexingTask(ArtifactIndexingTask task)
Adds the indexing task to the indexing queue. |
void |
queueRepositoryTask(RepositoryTask task)
Adds the repository task to the repo scanning queue. |
void |
scheduleDatabaseTasks()
Schedules the database tasks using the set cron expression. |
void |
startup()
|
| Field Detail |
|---|
static final String ROLE
| Method Detail |
|---|
boolean isProcessingDatabaseTask()
org.apache.maven.archiva.common.ArchivaExceptionboolean isProcessingRepositoryTask(String repositoryId)
repositoryId -
org.apache.maven.archiva.common.ArchivaException
void queueDatabaseTask(DatabaseTask task)
throws org.codehaus.plexus.taskqueue.TaskQueueException
task -
org.codehaus.plexus.taskqueue.TaskQueueException
void queueRepositoryTask(RepositoryTask task)
throws org.codehaus.plexus.taskqueue.TaskQueueException
task -
org.codehaus.plexus.taskqueue.TaskQueueException
void queueIndexingTask(ArtifactIndexingTask task)
throws org.codehaus.plexus.taskqueue.TaskQueueException
task -
org.codehaus.plexus.taskqueue.TaskQueueException
void scheduleDatabaseTasks()
throws org.codehaus.plexus.taskqueue.execution.TaskExecutionException
org.codehaus.plexus.taskqueue.execution.TaskExecutionException
void startup()
throws org.apache.maven.archiva.common.ArchivaException
org.apache.maven.archiva.common.ArchivaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||