Interface IndexingCounter

All Known Implementing Classes:
IndexingCounterManagerImpl

@PublicApi public interface IndexingCounter
IndexingCounter provides access to a persistent 'count' of full re-indexes. This may be used by upgraded plugins to determine whether the index is up to date for whatever custom field changes they have made. For example, an upgrade task can record the current index value and a plugin can display a 're-index required' message until a full re-index has occurred and the value has changed.
Since:
v6.0
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    This method returns the current re-indexing count.
  • Method Details

    • getCurrentValue

      long getCurrentValue()
      This method returns the current re-indexing count.
      Returns:
      the value of the most recent re-index run