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


public interface DpSelectionDelegate

Author:
Sanne Grinovero

Method Summary
 void addAsPayLoadsToQueue(LuceneWork work, IndexShardingStrategy shardingStrategy, PerDirectoryWorkProcessor queues)
          The LuceneWork must be applied to different indexes.
 

Method Detail

addAsPayLoadsToQueue

void addAsPayLoadsToQueue(LuceneWork work,
                          IndexShardingStrategy shardingStrategy,
                          PerDirectoryWorkProcessor queues)
                          throws java.lang.InterruptedException
The LuceneWork must be applied to different indexes.

Parameters:
work - the work to split.
queues - the target queue to add work to.
shardingStrategy - the Sharding strategy is usually needed to identify affected Directories.
Throws:
java.lang.InterruptedException


Copyright © 2006-2010 Hibernate. All Rights Reserved.