Package com.linkedin.venice.controller
Class DisabledPartitionEnablerService
java.lang.Object
com.linkedin.venice.service.AbstractVeniceService
com.linkedin.venice.controller.DisabledPartitionEnablerService
- All Implemented Interfaces:
Closeable,AutoCloseable
-
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
ConstructorsConstructorDescriptionDisabledPartitionEnablerService(VeniceHelixAdmin admin, VeniceControllerMultiClusterConfig multiClusterConfig) DisabledPartitionEnablerService(VeniceHelixAdmin admin, VeniceControllerMultiClusterConfig multiClusterConfig, Time time) -
Method Summary
-
Constructor Details
-
DisabledPartitionEnablerService
public DisabledPartitionEnablerService(VeniceHelixAdmin admin, VeniceControllerMultiClusterConfig multiClusterConfig) -
DisabledPartitionEnablerService
public DisabledPartitionEnablerService(VeniceHelixAdmin admin, VeniceControllerMultiClusterConfig multiClusterConfig, Time time)
-
-
Method Details
-
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). - Throws:
Exception
-
stopInner
- Specified by:
stopInnerin classAbstractVeniceService- Throws:
Exception
-