com.atlassian.bonnie.index
Interface ObjectQueue.Processor

Enclosing interface:
ObjectQueue

public static interface ObjectQueue.Processor

Creates Documents from objects via ObjectToDocumentConverter, then passes the created Document to a Callback.

The premise of this class is that the creation of Documents (NOT their addition to the index) is the bottleneck in an indexing process, and performance gains will be achieved by running this operation in a concurrent fashion.


Method Summary
 void indexCollection(java.util.Collection collection, BatchOpIndexer.DocumentWritingScheme documentWritingScheme)
           
 

Method Detail

indexCollection

public void indexCollection(java.util.Collection collection,
                            BatchOpIndexer.DocumentWritingScheme documentWritingScheme)


Copyright © 2006-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.