com.atlassian.confluence.search.lucene.IndexTaskQueue |
Known Indirect Subclasses
|
Confluence queues all of its index requests and then executes them in bulk. The indexTaskQueue is there to assist in the queueing the tasks until they are ready to be processed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a new task to this queue.
| |||||||||||
Add a collection of tasks to this queue.
| |||||||||||
Flush the contents of the queue, returning those elements currently queued as the result.
| |||||||||||
Flush the contents of the queue, returning those elements currently queued as the result.
| |||||||||||
Retrieve a list of all of the queued entries.
| |||||||||||
Retrieve the number of elements in the queue.
| |||||||||||
Remove all queued index tasks from this queue.
|
Flush the contents of the queue, returning those elements currently queued as the result.
Flush the contents of the queue, returning those elements currently queued as the result.
numberOfEntries | the maximum number of entries to return. This should return the n first entries in the queue. |
---|
Retrieve a list of all of the queued entries.
Retrieve the number of elements in the queue.
Remove all queued index tasks from this queue.