Package com.linkedin.davinci.helix
Class HelixParticipationService
java.lang.Object
com.linkedin.venice.service.AbstractVeniceService
com.linkedin.davinci.helix.HelixParticipationService
- All Implemented Interfaces:
StatusMessageHandler<KillOfflinePushMessage>,Closeable,AutoCloseable
public class HelixParticipationService
extends AbstractVeniceService
implements StatusMessageHandler<KillOfflinePushMessage>
Venice Participation Service wrapping Helix Participant.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.linkedin.venice.service.AbstractVeniceService
AbstractVeniceService.ServiceState -
Field Summary
Fields inherited from class com.linkedin.venice.service.AbstractVeniceService
logger, serviceState -
Constructor Summary
ConstructorsConstructorDescriptionHelixParticipationService(StoreIngestionService storeIngestionService, StorageService storageService, StorageMetadataService storageMetadataService, VeniceConfigLoader veniceConfigLoader, ReadOnlyStoreRepository helixReadOnlyStoreRepository, ReadOnlySchemaRepository helixReadOnlySchemaRepository, io.tehuti.metrics.MetricsRepository metricsRepository, String zkAddress, String clusterName, int port, String hostname, CompletableFuture<SafeHelixManager> managerFuture, HeartbeatMonitoringService heartbeatMonitoringService, BlobTransferManager blobTransferManager) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.helix.HelixManagerPropertyvoidhandleMessage(KillOfflinePushMessage message) voidbooleanvoid
-
Constructor Details
-
HelixParticipationService
public HelixParticipationService(StoreIngestionService storeIngestionService, StorageService storageService, StorageMetadataService storageMetadataService, VeniceConfigLoader veniceConfigLoader, ReadOnlyStoreRepository helixReadOnlyStoreRepository, ReadOnlySchemaRepository helixReadOnlySchemaRepository, io.tehuti.metrics.MetricsRepository metricsRepository, String zkAddress, String clusterName, int port, String hostname, CompletableFuture<SafeHelixManager> managerFuture, HeartbeatMonitoringService heartbeatMonitoringService, BlobTransferManager blobTransferManager)
-
-
Method Details
-
getLeaderFollowerHelixStateTransitionThreadPool
-
buildHelixManagerProperty
-
startInner
public boolean startInner()- Specified by:
startInnerin classAbstractVeniceService- Returns:
- true if the service is completely started,
false if it is still starting asynchronously (in this case, it is the implementer's
responsibility to set
AbstractVeniceService.serviceStatetoAbstractVeniceService.ServiceState.STARTEDupon completion of the async work).
-
stopInner
- Specified by:
stopInnerin classAbstractVeniceService- Throws:
IOException
-
replaceAndAddTestIngestionNotifier
-
getInstance
-
getVeniceOfflinePushMonitorAccessor
-
getStatusStoreWriter
-
getHelixReadOnlyStoreRepository
-
handleMessage
- Specified by:
handleMessagein interfaceStatusMessageHandler<KillOfflinePushMessage>
-
getKafkaStoreIngestionService
-