Package com.linkedin.venice.controller
Class UnusedValueSchemaCleanupService
java.lang.Object
com.linkedin.venice.service.AbstractVeniceService
com.linkedin.venice.controller.UnusedValueSchemaCleanupService
- All Implemented Interfaces:
Closeable
,AutoCloseable
This service runs in the parent controller to delete historical unused value schemas.
Currently, it supports deletion of unused value schemas only for batch stores.
-
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
-
Method Summary
-
Field Details
-
minSchemaCountToKeep
public final int minSchemaCountToKeep
-
-
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
-