public interface MassIndexerProgressMonitor extends IndexingMonitor
Implementations must:
Modifier and Type | Method and Description |
---|---|
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 |
documentsBuilt(int number)
The number of Documents built;
This is invoked several times and concurrently during
the indexing process.
|
void |
entitiesLoaded(int size)
The number of entities loaded from database;
This is invoked several times and concurrently during
the indexing process.
|
void |
indexingCompleted()
Invoked when the indexing is completed.
|
documentsAdded
void documentsBuilt(int number)
number
- number of Document
s builtvoid entitiesLoaded(int size)
size
- number of entities loaded from databasevoid addToTotalCount(long count)
count
- number of newly indexed entities which has to
be added to total countvoid indexingCompleted()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved