org.hibernate.search.backend.impl
Class WorkQueuePerIndexSplitter
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkQueuePerIndexSplitter
public WorkQueuePerIndexSplitter()
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