Package org.apache.hadoop.hbase.quotas
Class SpaceQuotaSnapshotNotifierFactory
java.lang.Object
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNotifierFactory
Factory for creating
SpaceQuotaSnapshotNotifier
implementations. Implementations must
have a no-args constructor.-
Field Summary
Modifier and TypeFieldDescriptionprivate static final SpaceQuotaSnapshotNotifierFactory
static final Class<? extends SpaceQuotaSnapshotNotifier>
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(org.apache.hadoop.conf.Configuration conf) Instantiates theSpaceQuotaSnapshotNotifier
implementation as defined in the configuration provided.
-
Field Details
-
INSTANCE
-
SNAPSHOT_NOTIFIER_KEY
- See Also:
-
SNAPSHOT_NOTIFIER_DEFAULT
-
-
Constructor Details
-
SpaceQuotaSnapshotNotifierFactory
private SpaceQuotaSnapshotNotifierFactory()
-
-
Method Details
-
getInstance
-
create
Instantiates theSpaceQuotaSnapshotNotifier
implementation as defined in the configuration provided.- Parameters:
conf
- Configuration object- Returns:
- The SpaceQuotaSnapshotNotifier implementation
- Throws:
IllegalArgumentException
- if the class could not be instantiated
-