public enum Quota extends Enum<Quota>
Modifier and Type | Class and Description |
---|---|
static class |
Quota.Counts
Counters for quota counts.
|
Enum Constant and Description |
---|
NAMESPACE
The namespace usage, i.e.
|
STORAGESPACE
The storage space usage in bytes including replication.
|
Modifier and Type | Method and Description |
---|---|
static Quota |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quota[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quota NAMESPACE
public static final Quota STORAGESPACE
public static Quota[] values()
for (Quota c : Quota.values()) System.out.println(c);
public static Quota valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 Apache Software Foundation. All Rights Reserved.