|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.search.impl.SimpleIndexingProgressMonitor
public class SimpleIndexingProgressMonitor
A very simple implementation of MassIndexerProgressMonitor
| Constructor Summary | |
|---|---|
SimpleIndexingProgressMonitor()
|
|
| Method Summary | |
|---|---|
void |
addToTotalCount(long count)
The total count of entities to be indexed is added here; It could be called more than once, the implementation should add them up. |
void |
documentsAdded(long increment)
The number of documents sent to the backend; This is called several times during the indexing process. |
void |
documentsBuilt(int number)
The number of Documents built; This is called several times and concurrently during the indexing process. |
void |
entitiesLoaded(int size)
The number of entities loaded from database; This is called several times and concurrently during the indexing process. |
protected int |
getStatusMessagePeriod()
|
protected void |
printStatusMessage(long starttimems,
long totalTodoCount,
long doneCount)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleIndexingProgressMonitor()
| Method Detail |
|---|
public void entitiesLoaded(int size)
MassIndexerProgressMonitor
entitiesLoaded in interface MassIndexerProgressMonitorpublic void documentsAdded(long increment)
MassIndexerProgressMonitor
documentsAdded in interface MassIndexerProgressMonitorpublic void documentsBuilt(int number)
MassIndexerProgressMonitor
documentsBuilt in interface MassIndexerProgressMonitorpublic void addToTotalCount(long count)
MassIndexerProgressMonitor
addToTotalCount in interface MassIndexerProgressMonitorprotected int getStatusMessagePeriod()
protected void printStatusMessage(long starttimems,
long totalTodoCount,
long doneCount)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||