org.hibernate.search.backend.impl
public class WorkQueue extends Object
| Constructor and Description |
|---|
WorkQueue(SearchFactoryImplementor searchFactoryImplementor) |
WorkQueue(SearchFactoryImplementor searchFactoryImplementor,
WorkPlan plan) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Work work) |
void |
clear() |
List<LuceneWork> |
getSealedQueue() |
void |
prepareWorkPlan()
Compiles the work collected so far in an optimal execution plan,
storing the list of lucene operations to be performed in the sealedQueue.
|
int |
size()
Returns an estimate of the to be performed operations
|
WorkQueue |
splitQueue() |
public WorkQueue(SearchFactoryImplementor searchFactoryImplementor)
public WorkQueue(SearchFactoryImplementor searchFactoryImplementor, WorkPlan plan)
public void add(Work work)
public WorkQueue splitQueue()
public List<LuceneWork> getSealedQueue()
public void clear()
public int size()
WorkPlan.size()public void prepareWorkPlan()
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved