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
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConcurrentMap<TableName,FileArchiverNotifier> private static FileArchiverNotifierFactoryprivate static final FileArchiverNotifierFactoryImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(Connection conn, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, TableName tn) Returns theFileArchiverNotifierinstance for the givenTableName.intstatic FileArchiverNotifierFactory(package private) static voidreset()(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 theFileArchiverNotifierinstance for the givenTableName.- Specified by:
getin interfaceFileArchiverNotifierFactory- Parameters:
tn- The table to obtain a notifier for- Returns:
- The notifier for the given
tablename.
-
getCacheSize
-