@InterfaceAudience.Private public class SpaceQuotaSnapshotNotifierFactory extends Object
SpaceQuotaSnapshotNotifier
implementations. Implementations
must have a no-args constructor.Modifier and Type | Field and Description |
---|---|
static Class<? extends SpaceQuotaSnapshotNotifier> |
SNAPSHOT_NOTIFIER_DEFAULT |
static String |
SNAPSHOT_NOTIFIER_KEY |
Modifier and Type | Method and Description |
---|---|
SpaceQuotaSnapshotNotifier |
create(org.apache.hadoop.conf.Configuration conf)
Instantiates the
SpaceQuotaSnapshotNotifier implementation as defined in the
configuration provided. |
static SpaceQuotaSnapshotNotifierFactory |
getInstance() |
public static final String SNAPSHOT_NOTIFIER_KEY
public static final Class<? extends SpaceQuotaSnapshotNotifier> SNAPSHOT_NOTIFIER_DEFAULT
public static SpaceQuotaSnapshotNotifierFactory getInstance()
public SpaceQuotaSnapshotNotifier create(org.apache.hadoop.conf.Configuration conf)
SpaceQuotaSnapshotNotifier
implementation as defined in the
configuration provided.conf
- Configuration objectIllegalArgumentException
- if the class could not be instantiatedCopyright © 2007–2019 Cloudera. All rights reserved.