org.hibernate.search.backend.impl.lucene
Interface PerDirectoryWorkProcessor


public interface PerDirectoryWorkProcessor

Interface to implement visitor pattern in combination with DpSelectionVisitor and DpSelectionDelegate to send LuceneWork to the appropriate queues, as defined by an IndexShardingStrategy.

Author:
Sanne Grinovero

Method Summary
 void addWorkToDpProcessor(DirectoryProvider<?> dp, LuceneWork work)
           
 

Method Detail

addWorkToDpProcessor

void addWorkToDpProcessor(DirectoryProvider<?> dp,
                          LuceneWork work)
                          throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException


Copyright © 2006-2010 Hibernate. All Rights Reserved.