|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EdgeIndexTaskQueue
Method Summary | |
---|---|
void |
enqueue(EdgeIndexTask task)
Add a new task to this queue. |
void |
enqueueAll(java.util.Collection<EdgeIndexTask> tasks)
Add a collection of tasks to this queue. |
java.util.List<EdgeIndexTask> |
flushQueue()
Flush the contents of the queue, returning those elements currently queued as the result. |
java.util.List<EdgeIndexTask> |
flushQueue(int numberOfEntries)
Flush the contents of the queue, returning those elements currently queued as the result. |
int |
getSize()
Retrieve the number of elements in the queue. |
void |
reset()
Remove all queued index tasks from this queue. |
Method Detail |
---|
int getSize()
void enqueue(EdgeIndexTask task)
task
- void enqueueAll(java.util.Collection<EdgeIndexTask> tasks)
tasks
- java.util.List<EdgeIndexTask> flushQueue(int numberOfEntries)
numberOfEntries
- the maximum number of entries to return. This should return the n first entries in the queue.
java.util.List<EdgeIndexTask> flushQueue()
void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |