Class TimeToLiveMasterLocalStoreWALCleaner
java.lang.Object
org.apache.hadoop.hbase.BaseConfigurable
org.apache.hadoop.hbase.master.cleaner.BaseFileCleanerDelegate
org.apache.hadoop.hbase.master.cleaner.BaseLogCleanerDelegate
org.apache.hadoop.hbase.master.cleaner.BaseTimeToLiveFileCleaner
org.apache.hadoop.hbase.master.cleaner.TimeToLiveMasterLocalStoreWALCleaner
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,FileCleanerDelegate,Stoppable
@LimitedPrivate("Configuration")
public class TimeToLiveMasterLocalStoreWALCleaner
extends BaseTimeToLiveFileCleaner
Master local storage WAL cleaner that uses the timestamp of the WAL file to determine if it
should be deleted. By default they are allowed to live for 604800000L
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longgetTtlMs(org.apache.hadoop.conf.Configuration conf) protected booleanvaliateFilename(org.apache.hadoop.fs.Path file) Methods inherited from class org.apache.hadoop.hbase.master.cleaner.BaseTimeToLiveFileCleaner
isFileDeletable, isStopped, setConf, stopMethods inherited from class org.apache.hadoop.hbase.master.cleaner.BaseFileCleanerDelegate
getDeletableFiles, initMethods inherited from class org.apache.hadoop.hbase.BaseConfigurable
getConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConfMethods inherited from interface org.apache.hadoop.hbase.master.cleaner.FileCleanerDelegate
isEmptyDirDeletable, postClean, preClean
-
Field Details
-
TTL_CONF_KEY
- See Also:
-
DEFAULT_TTL
- See Also:
-
-
Constructor Details
-
TimeToLiveMasterLocalStoreWALCleaner
public TimeToLiveMasterLocalStoreWALCleaner()
-
-
Method Details
-
getTtlMs
- Specified by:
getTtlMsin classBaseTimeToLiveFileCleaner
-
valiateFilename
- Specified by:
valiateFilenamein classBaseTimeToLiveFileCleaner
-