Class AbstractZeebeRecordFetcher<T>
java.lang.Object
io.camunda.optimize.service.importing.zeebe.fetcher.AbstractZeebeRecordFetcher<T>
- Direct Known Subclasses:
AbstractZeebeRecordFetcherES,AbstractZeebeRecordFetcherOS
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractZeebeRecordFetcher(int partitionId, ConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptionfetchZeebeRecordsForPrefixAndPartitionFrom(PositionBasedImportPage positionBasedImportPage) protected abstract Stringintintintprotected Stringintprotected StringgetSortField(PositionBasedImportPage positionBasedImportPage) protected ZeebeImportConfigurationgetZeebeRecordsForPrefixAndPartitionFrom(PositionBasedImportPage positionBasedImportPage) protected abstract boolean
-
Field Details
-
partitionId
protected final int partitionId -
configurationService
-
-
Constructor Details
-
AbstractZeebeRecordFetcher
-
-
Method Details
-
getZeebeRecordsForPrefixAndPartitionFrom
public List<T> getZeebeRecordsForPrefixAndPartitionFrom(PositionBasedImportPage positionBasedImportPage) -
isZeebeInstanceIndexNotFoundException
-
fetchZeebeRecordsForPrefixAndPartitionFrom
protected abstract List<T> fetchZeebeRecordsForPrefixAndPartitionFrom(PositionBasedImportPage positionBasedImportPage) throws Exception - Throws:
Exception
-
getBaseIndexName
-
getRecordDtoClass
-
getSortField
-
getIndexAlias
-
getZeebeImportConfig
-
getPartitionId
public int getPartitionId() -
getConfigurationService
-
getDynamicBatchSize
public int getDynamicBatchSize() -
getConsecutiveSuccessfulFetches
public int getConsecutiveSuccessfulFetches() -
getConsecutiveEmptyPages
public int getConsecutiveEmptyPages() -
getBatchSizeDeque
-