Package org.apache.hadoop.hbase.quotas
Class FileArchiverNotifierFactoryImpl
java.lang.Object
org.apache.hadoop.hbase.quotas.FileArchiverNotifierFactoryImpl
- All Implemented Interfaces:
FileArchiverNotifierFactory
@Private
public final class FileArchiverNotifierFactoryImpl
extends Object
implements FileArchiverNotifierFactory
A factory for getting instances of
FileArchiverNotifier
.-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ConcurrentMap<TableName,
FileArchiverNotifier> private static FileArchiverNotifierFactory
private static final FileArchiverNotifierFactoryImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(Connection conn, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, TableName tn) Returns theFileArchiverNotifier
instance for the givenTableName
.int
static FileArchiverNotifierFactory
(package private) static void
reset()
(package private) static void
-
Field Details
-
DEFAULT_INSTANCE
-
CURRENT_INSTANCE
-
CACHE
-
-
Constructor Details
-
FileArchiverNotifierFactoryImpl
private FileArchiverNotifierFactoryImpl()
-
-
Method Details
-
getInstance
-
setInstance
-
reset
-
get
public FileArchiverNotifier get(Connection conn, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, TableName tn) Returns theFileArchiverNotifier
instance for the givenTableName
.- Specified by:
get
in interfaceFileArchiverNotifierFactory
- Parameters:
tn
- The table to obtain a notifier for- Returns:
- The notifier for the given
tablename
.
-
getCacheSize
-