Class MainTopicIngestionStatus
java.lang.Object
com.linkedin.davinci.ingestion.main.MainTopicIngestionStatus
This class manages the ingestion status for each partition for a given topic when isolated ingestion is enabled.
Each partition that exists in the status map will be either be hosted in main process or forked process.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getPartitionIngestionStatus
(int partitionId) boolean
void
removePartitionIngestionStatus
(int partitionId) void
setPartitionIngestionStatusToIsolatedIngestion
(int partitionId) void
setPartitionIngestionStatusToLocalIngestion
(int partitionId)
-
Constructor Details
-
MainTopicIngestionStatus
-
-
Method Details
-
setPartitionIngestionStatusToLocalIngestion
public void setPartitionIngestionStatusToLocalIngestion(int partitionId) -
setPartitionIngestionStatusToIsolatedIngestion
public void setPartitionIngestionStatusToIsolatedIngestion(int partitionId) -
removePartitionIngestionStatus
public void removePartitionIngestionStatus(int partitionId) -
getPartitionIngestionStatus
-
getPartitionIngestionStatusSet
-
getIngestingPartitionCount
public long getIngestingPartitionCount() -
getTopicName
-
hasPartitionIngestingInIsolatedProcess
public boolean hasPartitionIngestingInIsolatedProcess()
-