Interface IndexLogStore.ForIndex

Enclosing interface:
IndexLogStore

public static interface IndexLogStore.ForIndex
Index log store for a specific index.
Since:
2.23.0
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Class<?> type)
    Returns version and date of the indexed type or an empty object, if the object was not indexed at all.
    void
    log(Class<?> type, int version)
    Log index and version of a type which is now indexed.
  • Method Details

    • log

      void log(Class<?> type, int version)
      Log index and version of a type which is now indexed.
      Parameters:
      type - type which was indexed
      version - model version
    • get

      Optional<IndexLog> get(Class<?> type)
      Returns version and date of the indexed type or an empty object, if the object was not indexed at all.
      Parameters:
      type - type of object
      Returns:
      log entry or empty