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
FieldsModifier and TypeFieldDescriptionprivate static final SpaceQuotaSnapshotNotifierFactorystatic final Class<? extends SpaceQuotaSnapshotNotifier>static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(org.apache.hadoop.conf.Configuration conf) Instantiates theSpaceQuotaSnapshotNotifierimplementation 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 theSpaceQuotaSnapshotNotifierimplementation as defined in the configuration provided.- Parameters:
conf- Configuration object- Returns:
- The SpaceQuotaSnapshotNotifier implementation
- Throws:
IllegalArgumentException- if the class could not be instantiated
-