- java.lang.Object
-
- com.google.common.util.concurrent.AbstractService
-
- co.cask.cdap.data.stream.service.LocalStreamFileJanitorService
-
- All Implemented Interfaces:
- StreamFileJanitorService, com.google.common.util.concurrent.Service
public final class LocalStreamFileJanitorService
extends com.google.common.util.concurrent.AbstractService
implements StreamFileJanitorService
Performs cleanup of stream files regularly with a single thread executor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service
com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
protected void |
doStart() |
protected void |
doStop() |
-
Methods inherited from class com.google.common.util.concurrent.AbstractService
addListener, isRunning, notifyFailed, notifyStarted, notifyStopped, start, startAndWait, state, stop, stopAndWait, toString
-
Methods inherited from interface com.google.common.util.concurrent.Service
addListener, isRunning, start, startAndWait, state, stop, stopAndWait
-
-
Method Detail
-
doStart
protected void doStart()
- Specified by:
doStart in class com.google.common.util.concurrent.AbstractService
-
doStop
protected void doStop()
- Specified by:
doStop in class com.google.common.util.concurrent.AbstractService
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.