com.atlassian.confluence.plugins.edgeindex.lucene
Interface EdgeIndexTaskQueue


public interface EdgeIndexTaskQueue


Method Summary
 void enqueue(IndexTaskType indexTaskType, ContentEntityObject target)
          Add a new task to this queue.
 void enqueue(IndexTaskType indexTaskType, Edge edge)
          Add a new task to this queue.
 void processEntries(com.atlassian.fugue.Effect<EdgeIndexTask> action)
          Apply the given action to contents of the queue.
 

Method Detail

enqueue

void enqueue(IndexTaskType indexTaskType,
             Edge edge)
Add a new task to this queue.


enqueue

void enqueue(IndexTaskType indexTaskType,
             ContentEntityObject target)
Add a new task to this queue.


processEntries

void processEntries(com.atlassian.fugue.Effect<EdgeIndexTask> action)
Apply the given action to contents of the queue. Processing is stopped immediately if the action throws an exception when processing an element. Next call to processEntries will start from the failing element.

Parameters:
action - action to apply queue contents


Copyright © 2003-2014 Atlassian. All Rights Reserved.