|
|||||||||
| 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 java.lang.String |
ROLE
The Plexus component role. |
| Method Summary | |
|---|---|
boolean |
isProcessingDatabaseTask()
Checks if there is any database scanning task queued. |
boolean |
isProcessingRepositoryTask(java.lang.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 java.lang.String ROLE
| Method Detail |
|---|
boolean isProcessingDatabaseTask()
ArchivaExceptionboolean isProcessingRepositoryTask(java.lang.String repositoryId)
repositoryId -
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 ArchivaException
ArchivaException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||