|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.search.backend.impl.lucene.works.DeleteExtWorkDelegate
public class DeleteExtWorkDelegate
Stateless extension of DeleteLuceneWork,
performing the same LuceneWork in an optimal way in case
the index is NOT shared across different entities
(which is the default).
DeleteWorkDelegate| Method Summary | |
|---|---|
void |
logWorkDone(LuceneWork work,
MassIndexerProgressMonitor monitor)
Used for stats and performance counters, use the monitor to keep track of activity done on the index. |
void |
performWork(LuceneWork work,
org.apache.lucene.index.IndexWriter writer)
Will perform work on an IndexWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void performWork(LuceneWork work,
org.apache.lucene.index.IndexWriter writer)
LuceneWorkDelegate
performWork in interface LuceneWorkDelegatework - the LuceneWork to apply to the IndexWriter.writer - the IndexWriter to use.
public void logWorkDone(LuceneWork work,
MassIndexerProgressMonitor monitor)
LuceneWorkDelegate
logWorkDone in interface LuceneWorkDelegatework - the work which was done.monitor - the monitor tracking activity.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||