Interface ReIndexJobPersister

  • All Known Implementing Classes:
    BandanaReIndexJobPersister

    public interface ReIndexJobPersister
    Store/retrieve ReIndexJob. There is at most one job to be stored at any time.
    Since:
    7.6.0
    • Method Detail

      • get

        Optional<ReIndexJob> get()
        Returns:
        most recent or running re-index job. Empty if there is neither.
      • saveOrUpdate

        void saveOrUpdate​(ReIndexJob reIndexJob)
        Save a new or update a running re-index job
        Parameters:
        reIndexJob - re-index job to be saved/updated
      • clear

        void clear()
        Delete most recent or running re-index job. No-op if there is neither