Class TimeToLiveProcedureWALCleaner
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.TimeToLiveProcedureWALCleaner
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,FileCleanerDelegate
,Stoppable
@Deprecated
@LimitedPrivate("Configuration")
public class TimeToLiveProcedureWALCleaner
extends BaseTimeToLiveFileCleaner
Deprecated.
Since 2.3.0, will be removed in 4.0.0. We will not use the procedure wal to store
procedure any more.
Procedure WAL cleaner that uses the timestamp of the Procedure WAL to determine if it should be
deleted. By default they are allowed to live for 604800000L.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected long
getTtlMs
(org.apache.hadoop.conf.Configuration conf) Deprecated.protected boolean
valiateFilename
(org.apache.hadoop.fs.Path file) Deprecated.Methods inherited from class org.apache.hadoop.hbase.master.cleaner.BaseTimeToLiveFileCleaner
isFileDeletable, isStopped, setConf, stop
Methods inherited from class org.apache.hadoop.hbase.master.cleaner.BaseFileCleanerDelegate
getDeletableFiles, init
Methods inherited from class org.apache.hadoop.hbase.BaseConfigurable
getConf
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf
Methods inherited from interface org.apache.hadoop.hbase.master.cleaner.FileCleanerDelegate
isEmptyDirDeletable, postClean, preClean
-
Field Details
-
TTL_CONF_KEY
Deprecated.- See Also:
-
DEFAULT_TTL
Deprecated.- See Also:
-
-
Constructor Details
-
TimeToLiveProcedureWALCleaner
public TimeToLiveProcedureWALCleaner()Deprecated.
-
-
Method Details
-
getTtlMs
Deprecated.- Specified by:
getTtlMs
in classBaseTimeToLiveFileCleaner
-
valiateFilename
Deprecated.- Specified by:
valiateFilename
in classBaseTimeToLiveFileCleaner
-