org.hibernate.search.backend
Interface IndexingMonitor

All Known Subinterfaces:
MassIndexerProgressMonitor
All Known Implementing Classes:
IndexingProgressMonitor, SimpleIndexingProgressMonitor

public interface IndexingMonitor

Author:
Sanne Grinovero (C) 2011 Red Hat Inc.

Method Summary
 void documentsAdded(long increment)
          Notify the IndexingMonitor of the number of documents added to the index.
 

Method Detail

documentsAdded

void documentsAdded(long increment)
Notify the IndexingMonitor of the number of documents added to the index. This can be invoked several times during the indexing process, and could be invoked concurrently by different threads.

Parameters:
increment - number of documents add operations performed


Copyright © 2006-2013 Red Hat, Inc. All Rights Reserved