Class ScrubberService
java.lang.Object
org.apache.bookkeeper.common.component.AbstractComponent<ConfT>
org.apache.bookkeeper.common.component.AbstractLifecycleComponent<BookieConfiguration>
org.apache.bookkeeper.server.component.ServerLifecycleComponent
org.apache.bookkeeper.server.service.ScrubberService
- All Implemented Interfaces:
AutoCloseable,LifecycleComponent
A
LifecycleComponent that runs the scrubber background service.-
Field Summary
Fields inherited from class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
lifecycle, statsLogger, uncaughtExceptionHandlerFields inherited from class org.apache.bookkeeper.common.component.AbstractComponent
componentName, conf -
Constructor Summary
ConstructorsConstructorDescriptionScrubberService(StatsLogger logger, BookieConfiguration conf, LedgerStorage ledgerStorage) -
Method Summary
Methods inherited from class org.apache.bookkeeper.server.component.ServerLifecycleComponent
loadServerComponentsMethods inherited from class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
addLifecycleListener, close, getStatsLogger, lifecycleState, removeLifecycleListener, setExceptionHandler, start, stopMethods inherited from class org.apache.bookkeeper.common.component.AbstractComponent
getConf, getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.bookkeeper.common.component.LifecycleComponent
getName, publishInfo
-
Constructor Details
-
ScrubberService
-
-
Method Details
-
doStart
protected void doStart()- Specified by:
doStartin classAbstractLifecycleComponent<BookieConfiguration>
-
doStop
protected void doStop()- Specified by:
doStopin classAbstractLifecycleComponent<BookieConfiguration>
-
doClose
- Specified by:
doClosein classAbstractLifecycleComponent<BookieConfiguration>- Throws:
IOException
-