Interface ImportIndexHandler<PAGE extends ImportPage,INDEX_DTO>

All Known Subinterfaces:
ZeebeImportIndexHandler<PAGE,INDEX_DTO>
All Known Implementing Classes:
ExternalVariableUpdateImportIndexHandler, PositionBasedImportIndexHandler, ZeebeIncidentImportIndexHandler, ZeebeProcessDefinitionImportIndexHandler, ZeebeProcessInstanceImportIndexHandler, ZeebeUserTaskImportIndexHandler, ZeebeVariableImportIndexHandler

public interface ImportIndexHandler<PAGE extends ImportPage,INDEX_DTO>
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a data transfer object (DTO) of the current index state.
    default PAGE
    Retrieves all information of the next page to import.
    void
    Resets the import index such that it can start the import all over again.
  • Method Details

    • getNextPage

      default PAGE getNextPage()
      Retrieves all information of the next page to import.
    • getIndexStateDto

      INDEX_DTO getIndexStateDto()
      Creates a data transfer object (DTO) of the current index state. On every restart of Optimize this information can be used to continue the import where it stopped the last time.
    • resetImportIndex

      void resetImportIndex()
      Resets the import index such that it can start the import all over again. E.g., that can be helpful to import entities that were missed during the first round.