public class WorkQueue extends Object
Constructor and Description |
---|
WorkQueue(ExtendedSearchIntegrator extendedIntegrator) |
WorkQueue(ExtendedSearchIntegrator extendedIntegrator,
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(ExtendedSearchIntegrator extendedIntegrator)
public WorkQueue(ExtendedSearchIntegrator extendedIntegrator, 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-2017 Red Hat, Inc. All Rights Reserved