Package org.hibernate.search.backend
Class WorkQueue
java.lang.Object
org.hibernate.search.backend.WorkQueue
-
Constructor Summary
ConstructorsConstructorDescriptionWorkQueue(SearchFactoryImplementor searchFactoryImplementor) WorkQueue(SearchFactoryImplementor searchFactoryImplementor, WorkPlan plan) -
Method Summary
-
Constructor Details
-
WorkQueue
-
WorkQueue
-
-
Method Details
-
isSealedAndUnchanged
public boolean isSealedAndUnchanged() -
add
-
splitQueue
-
getSealedQueue
-
clear
public void clear() -
size
public int size()Returns an estimate of the to be performed operations- Returns:
- the approximate size
- See Also:
-
prepareWorkPlan
public 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.
-