Package org.hibernate.search.backend
Interface IndexingMonitor
-
- All Known Subinterfaces:
MassIndexerProgressMonitor
@Deprecated public interface IndexingMonitor
Deprecated.See the deprecation note onMassIndexerProgressMonitor.- Author:
- Sanne Grinovero (C) 2011 Red Hat Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voiddocumentsAdded(long increment)Deprecated.Notify the monitor thatincrementmore documents have been added to the index.
-
-
-
Method Detail
-
documentsAdded
void documentsAdded(long increment)
Deprecated.Notify the monitor thatincrementmore documents have been added to the index.Summing the numbers passed to this method gives the total number of documents that have been added to the index so far.
This method is invoked several times during indexing, and calls are incremental: calling
documentsAdded(3)and thendocumentsAdded(1)should be understood as "3+1 documents, i.e. 4 documents have been added to the index".This method can be invoked from several threads thus implementors are required to be thread-safe.
- Parameters:
increment- additional number of documents built
-
-