Class StoreIngestionTaskFactory.Builder
java.lang.Object
com.linkedin.davinci.kafka.consumer.StoreIngestionTaskFactory.Builder
- Enclosing class:
- StoreIngestionTaskFactory
Builder class for
StoreIngestionTaskFactory
; once the build() function is invoked,
no modification is allowed on any parameters.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
boolean
setAAWCWorkLoadProcessingThreadPool
(ExecutorService executorService) setAggKafkaConsumerService
(AggKafkaConsumerService aggKafkaConsumerService) setCompressorFactory
(StorageEngineBackedCompressorFactory compressorFactory) setDiskUsage
(DiskUsage diskUsage) setHeartbeatMonitoringService
(HeartbeatMonitoringService heartbeatMonitoringService) setHostLevelIngestionStats
(AggHostLevelIngestionStats storeIngestionStats) setIsDaVinciClient
(boolean isDaVinciClient) setLeaderFollowerNotifiersQueue
(Queue<VeniceNotifier> leaderFollowerNotifiers) setMetadataRepository
(ReadOnlyStoreRepository metadataRepo) setMetaStoreWriter
(MetaStoreWriter metaStoreWriter) setPartitionStateSerializer
(InternalAvroSpecificSerializer<PartitionState> partitionStateSerializer) setPubSubTopicRepository
(PubSubTopicRepository pubSubTopicRepository) setRemoteIngestionRepairService
(RemoteIngestionRepairService repairService) setSchemaRepository
(ReadOnlySchemaRepository schemaRepo) setServerConfig
(VeniceServerConfig serverConfig) setStorageEngineRepository
(StorageEngineRepository storageEngineRepository) setStorageMetadataService
(StorageMetadataService storageMetadataService) setStoreBufferService
(AbstractStoreBufferService storeBufferService) setTopicManagerRepository
(TopicManagerRepository topicManagerRepository) setVeniceViewWriterFactory
(VeniceViewWriterFactory viewWriterFactory) setVeniceWriterFactory
(VeniceWriterFactory writerFactory) setVersionedDIVStats
(AggVersionedDIVStats versionedDIVStats) setVersionedIngestionStats
(AggVersionedIngestionStats versionedStorageIngestionStats)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
getVeniceWriterFactory
-
getHeartbeatMonitoringService
-
getVeniceViewWriterFactory
-
setVeniceWriterFactory
-
setHeartbeatMonitoringService
public StoreIngestionTaskFactory.Builder setHeartbeatMonitoringService(HeartbeatMonitoringService heartbeatMonitoringService) -
setVeniceViewWriterFactory
public StoreIngestionTaskFactory.Builder setVeniceViewWriterFactory(VeniceViewWriterFactory viewWriterFactory) -
setRemoteIngestionRepairService
public StoreIngestionTaskFactory.Builder setRemoteIngestionRepairService(RemoteIngestionRepairService repairService) -
getRemoteIngestionRepairService
-
setMetaStoreWriter
-
getMetaStoreWriter
-
getStorageEngineRepository
-
getStorageMetadataService
-
setStorageEngineRepository
public StoreIngestionTaskFactory.Builder setStorageEngineRepository(StorageEngineRepository storageEngineRepository) -
setStorageMetadataService
public StoreIngestionTaskFactory.Builder setStorageMetadataService(StorageMetadataService storageMetadataService) -
getLeaderFollowerNotifiers
-
setLeaderFollowerNotifiersQueue
public StoreIngestionTaskFactory.Builder setLeaderFollowerNotifiersQueue(Queue<VeniceNotifier> leaderFollowerNotifiers) -
getSchemaRepo
-
setSchemaRepository
-
getMetadataRepo
-
setMetadataRepository
public StoreIngestionTaskFactory.Builder setMetadataRepository(ReadOnlyStoreRepository metadataRepo) -
getTopicManagerRepository
-
setTopicManagerRepository
public StoreIngestionTaskFactory.Builder setTopicManagerRepository(TopicManagerRepository topicManagerRepository) -
getIngestionStats
-
setHostLevelIngestionStats
public StoreIngestionTaskFactory.Builder setHostLevelIngestionStats(AggHostLevelIngestionStats storeIngestionStats) -
getVersionedDIVStats
-
setVersionedDIVStats
public StoreIngestionTaskFactory.Builder setVersionedDIVStats(AggVersionedDIVStats versionedDIVStats) -
getVersionedStorageIngestionStats
-
setVersionedIngestionStats
public StoreIngestionTaskFactory.Builder setVersionedIngestionStats(AggVersionedIngestionStats versionedStorageIngestionStats) -
getStoreBufferService
-
setStoreBufferService
public StoreIngestionTaskFactory.Builder setStoreBufferService(AbstractStoreBufferService storeBufferService) -
getServerConfig
-
setServerConfig
-
getDiskUsage
-
setDiskUsage
-
getAggKafkaConsumerService
-
setAggKafkaConsumerService
public StoreIngestionTaskFactory.Builder setAggKafkaConsumerService(AggKafkaConsumerService aggKafkaConsumerService) -
getPartitionStateSerializer
-
setPartitionStateSerializer
public StoreIngestionTaskFactory.Builder setPartitionStateSerializer(InternalAvroSpecificSerializer<PartitionState> partitionStateSerializer) -
isDaVinciClient
public boolean isDaVinciClient() -
setIsDaVinciClient
-
getCompressorFactory
-
setCompressorFactory
public StoreIngestionTaskFactory.Builder setCompressorFactory(StorageEngineBackedCompressorFactory compressorFactory) -
getPubSubTopicRepository
-
setPubSubTopicRepository
public StoreIngestionTaskFactory.Builder setPubSubTopicRepository(PubSubTopicRepository pubSubTopicRepository) -
getRunnableForKillIngestionTasksForNonCurrentVersions
-
setRunnableForKillIngestionTasksForNonCurrentVersions
public StoreIngestionTaskFactory.Builder setRunnableForKillIngestionTasksForNonCurrentVersions(Runnable runnable) -
setAAWCWorkLoadProcessingThreadPool
public StoreIngestionTaskFactory.Builder setAAWCWorkLoadProcessingThreadPool(ExecutorService executorService) -
getAAWCWorkLoadProcessingThreadPool
-