Package org.teiid.adminapi
Enum Admin.Cache
- java.lang.Object
-
- java.lang.Enum<Admin.Cache>
-
- org.teiid.adminapi.Admin.Cache
-
- All Implemented Interfaces:
Serializable,Comparable<Admin.Cache>
- Enclosing interface:
- Admin
public static enum Admin.Cache extends Enum<Admin.Cache>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PREPARED_PLAN_CACHEQUERY_SERVICE_RESULT_SET_CACHE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Admin.CachevalueOf(String name)Returns the enum constant of this type with the specified name.static Admin.Cache[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARED_PLAN_CACHE
public static final Admin.Cache PREPARED_PLAN_CACHE
-
QUERY_SERVICE_RESULT_SET_CACHE
public static final Admin.Cache QUERY_SERVICE_RESULT_SET_CACHE
-
-
Method Detail
-
values
public static Admin.Cache[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Admin.Cache c : Admin.Cache.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Admin.Cache valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-