Class StaleRecoveringContainerScrubbingService
java.lang.Object
org.apache.hadoop.hdds.utils.BackgroundService
org.apache.hadoop.ozone.container.keyvalue.statemachine.background.StaleRecoveringContainerScrubbingService
public class StaleRecoveringContainerScrubbingService
extends org.apache.hadoop.hdds.utils.BackgroundService
A per-datanode container stale recovering container scrubbing service
takes in charge of deleting stale recovering containers.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hdds.utils.BackgroundService
org.apache.hadoop.hdds.utils.BackgroundService.PeriodicalTask -
Constructor Summary
ConstructorsConstructorDescriptionStaleRecoveringContainerScrubbingService(long interval, TimeUnit unit, int threadPoolSize, long serviceTimeout, ContainerSet containerSet) -
Method Summary
Methods inherited from class org.apache.hadoop.hdds.utils.BackgroundService
execTaskCompletion, getExecutorService, getFuture, getIntervalMillis, getThreadCount, runPeriodicalTaskNow, setInterval, setPoolSize, setServiceTimeoutInNanos, shutdown, start
-
Constructor Details
-
StaleRecoveringContainerScrubbingService
public StaleRecoveringContainerScrubbingService(long interval, TimeUnit unit, int threadPoolSize, long serviceTimeout, ContainerSet containerSet)
-
-
Method Details
-
getTasks
public org.apache.hadoop.hdds.utils.BackgroundTaskQueue getTasks()- Specified by:
getTasksin classorg.apache.hadoop.hdds.utils.BackgroundService
-