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 TypeMethodDescriptionCreates a data transfer object (DTO) of the current index state.default PAGERetrieves all information of the next page to import.voidResets the import index such that it can start the import all over again.
-
Method Details
-
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.
-