org.hibernate.search.jmx

## Interface IndexingProgressMonitorMBean

- All Known Implementing Classes:
    JMXRegistrar.IndexingProgressMonitor

      public interface IndexingProgressMonitorMBean

  A MBean for following the progress of mass indexing.
  Author:
    Hardy Ferentschik

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `INDEXING_PROGRESS_MONITOR_MBEAN_OBJECT_NAME`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getDocumentsAddedCount()`
    `long` | `getLoadedEntitiesCount()`
    `long` | `getNumberOfEntitiesToIndex()`

- - ### Field Detail

    - #### INDEXING_PROGRESS_MONITOR_MBEAN_OBJECT_NAME

          static final String INDEXING_PROGRESS_MONITOR_MBEAN_OBJECT_NAME

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getLoadedEntitiesCount

          long getLoadedEntitiesCount()

      Returns:
        the number of entities loaded so far

    - #### getDocumentsAddedCount

          long getDocumentsAddedCount()

      Returns:
        the number of Lucene `Document`s added so far

    - #### getNumberOfEntitiesToIndex

          long getNumberOfEntitiesToIndex()

      Returns:
        the total number of entities which need indexing

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