@InterfaceAudience.Private public abstract class BaseHFileCleanerDelegate extends BaseFileCleanerDelegate
TimeToLiveHFileCleaner
is called.
If other effects are needed, implement your own LogCleanerDelegate and add it to the
configuration "hbase.master.hfilecleaner.plugins", which is a comma-separated list of fully
qualified class names. The
For subclasses, setConf will be called exactly once before using the cleaner.
Since HFileCleaner
will build the cleaner chain in
order the order specified by the configuration.
HFileCleanerDelegates
are created in
HFileCleaner by reflection, classes that implements this interface must
provide a default constructor.
Constructor and Description |
---|
BaseHFileCleanerDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
isStopped() |
void |
stop(String why)
Stop this service.
|
getDeletableFiles, isFileDeletable
getConf, setConf
public void stop(String why)
Stoppable
why
- Why we're stopping.public boolean isStopped()
Stoppable.stop(String)
has been closed.Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.