public enum CacheOptionEnum extends Enum<CacheOptionEnum>
Enum Constant and Description |
---|
PERFORMANCE
Prioritize performance of the read-ahead cache, but the consistency is not ensured.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static CacheOptionEnum |
getValueFromCode(String code) |
static CacheOptionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheOptionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheOptionEnum PERFORMANCE
public static CacheOptionEnum[] values()
for (CacheOptionEnum c : CacheOptionEnum.values()) System.out.println(c);
public static CacheOptionEnum 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 nullpublic String getCode()
public static CacheOptionEnum getValueFromCode(String code)
Copyright © 2019. All rights reserved.