org.hibernate.search.backend.impl
Interface ContextAwareSelectionDelegate
public interface ContextAwareSelectionDelegate
Visitor interface to apply the configured sharding strategy to a list of LuceneWork;
this list is usually the set of operations to be applied in a transactional context.
- Author:
- Sanne Grinovero
performOperation
void performOperation(LuceneWork work,
IndexShardingStrategy shardingStrategy,
WorkQueuePerIndexSplitter context)
- The LuceneWork must be applied to different indexes.
- Parameters:
work
- the work to split.shardingStrategy
- the Sharding strategy is usually needed to identify affected Directories.context
- the transactional context where the pending changes are stored
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved