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:
startInner
in 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.serviceState
toAbstractVeniceService.ServiceState.STARTED
upon completion of the async work). - Throws:
Exception
-
stopInner
- Specified by:
stopInner
in classAbstractVeniceService
- Throws:
Exception
-