@InterfaceAudience.Private public abstract class BaseHFileCleanerDelegate extends BaseFileCleanerDelegate
TimeToLiveHFileCleaner is called.
If other effects are needed, implement your own HFileCleanerDelegate and add it to the
configuration "hbase.master.hfilecleaner.plugins", which is a comma-separated list of fully
qualified class names. The HFileCleaner will build the cleaner chain in
order the order specified by the configuration.
For subclasses, setConf will be called exactly once before using the cleaner.
Since HFileCleanerDelegates are created in
HFileCleaner by reflection, classes that implements this interface must
provide a default constructor.
| 构造器和说明 |
|---|
BaseHFileCleanerDelegate() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isStopped() |
void |
stop(String why) |
getDeletableFiles, init, isFileDeletablegetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreCleanpublic void stop(String why)
public boolean isStopped()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.