org.hibernate.search.backend.impl
Class WorkQueuePerIndexSplitter

java.lang.Object
  extended by org.hibernate.search.backend.impl.WorkQueuePerIndexSplitter

public class WorkQueuePerIndexSplitter
extends Object

Used by ContextAwareSelectionDelegate to split a list of operations according to the multiple IndexManagers it needs to be routed to.

Author:
Sanne Grinovero (C) 2011 Red Hat Inc.

Constructor Summary
WorkQueuePerIndexSplitter()
           
 
Method Summary
 void commitOperations(IndexingMonitor monitor)
          Send all operations stored so far to the backend to be performed, atomically and/or transactionally if supported/enabled by each specific backend.
 List<LuceneWork> getIndexManagerQueue(IndexManager indexManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkQueuePerIndexSplitter

public WorkQueuePerIndexSplitter()
Method Detail

getIndexManagerQueue

public List<LuceneWork> getIndexManagerQueue(IndexManager indexManager)
Parameters:
indexManager -

commitOperations

public void commitOperations(IndexingMonitor monitor)
Send all operations stored so far to the backend to be performed, atomically and/or transactionally if supported/enabled by each specific backend.



Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved