public class WorkPlan extends Object
| Constructor and Description |
|---|
WorkPlan(ExtendedSearchIntegrator extendedIntegrator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWork(Work work)
Adds a work to be performed as part of the final plan.
|
void |
clear()
Removes all scheduled work
|
List<LuceneWork> |
getPlannedLuceneWork() |
void |
processContainedInAndPrepareExecution()
Makes sure that all additional work needed because of containedIn
is added to the work plan.
|
<T> void |
recurseContainedIn(T value,
DepthValidator depth)
Used for recursive processing of containedIn
|
int |
size()
Returns an approximation of the amount of work in the queue.
|
public WorkPlan(ExtendedSearchIntegrator extendedIntegrator)
public void addWork(Work work)
work - The work instance to add to the work planpublic void clear()
public int size()
Environment.QUEUEINGPROCESSOR_BATCHSIZEpublic void processContainedInAndPrepareExecution()
public <T> void recurseContainedIn(T value,
DepthValidator depth)
value - the entity to be processedpublic List<LuceneWork> getPlannedLuceneWork()
LuceneWorkCopyright © 2006–2015 Hibernate. All rights reserved.