public static enum IDiskCacheAttributes.DiskLimitType extends Enum<IDiskCacheAttributes.DiskLimitType>
Enum Constant and Description |
---|
COUNT
limit elements by count (default)
|
SIZE
limit elements by their size
|
Modifier and Type | Method and Description |
---|---|
static IDiskCacheAttributes.DiskLimitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IDiskCacheAttributes.DiskLimitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IDiskCacheAttributes.DiskLimitType COUNT
public static final IDiskCacheAttributes.DiskLimitType SIZE
public static IDiskCacheAttributes.DiskLimitType[] values()
for (IDiskCacheAttributes.DiskLimitType c : IDiskCacheAttributes.DiskLimitType.values()) System.out.println(c);
public static IDiskCacheAttributes.DiskLimitType 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 © 2002–2022 The Apache Software Foundation. All rights reserved.