@InterfaceAudience.Private public class SpaceQuotaSnapshotNotifierFactory extends Object
SpaceQuotaSnapshotNotifier
implementations. Implementations must
have a no-args constructor.Modifier and Type | Field and Description |
---|---|
private static SpaceQuotaSnapshotNotifierFactory |
INSTANCE |
static Class<? extends SpaceQuotaSnapshotNotifier> |
SNAPSHOT_NOTIFIER_DEFAULT |
static String |
SNAPSHOT_NOTIFIER_KEY |
Modifier | Constructor and Description |
---|---|
private |
SpaceQuotaSnapshotNotifierFactory() |
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() |
private static final SpaceQuotaSnapshotNotifierFactory INSTANCE
public static final String SNAPSHOT_NOTIFIER_KEY
public static final Class<? extends SpaceQuotaSnapshotNotifier> SNAPSHOT_NOTIFIER_DEFAULT
private SpaceQuotaSnapshotNotifierFactory()
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–2020 The Apache Software Foundation. All rights reserved.