Enum CacheUseCategoryTraceType
- java.lang.Object
-
- java.lang.Enum<CacheUseCategoryTraceType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CacheUseCategoryTraceType
-
- All Implemented Interfaces:
Serializable
,Comparable<CacheUseCategoryTraceType>
public enum CacheUseCategoryTraceType extends Enum<CacheUseCategoryTraceType>
How was the cache used?
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIT
Cache hit was encountered.MISS
Cache miss was encountered.NOT_APPLICABLE
Cache was not applicable for given kind of operation.NOT_AVAILABLE
Cache was not available.PASS
Cache was passed through.WEAK_HIT
Cache "weak hit" was encountered.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CacheUseCategoryTraceType
fromValue(String v)
String
value()
static CacheUseCategoryTraceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CacheUseCategoryTraceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIT
public static final CacheUseCategoryTraceType HIT
Cache hit was encountered.
-
WEAK_HIT
public static final CacheUseCategoryTraceType WEAK_HIT
Cache "weak hit" was encountered. (E.g. the version had to be checked but was found OK.)
-
MISS
public static final CacheUseCategoryTraceType MISS
Cache miss was encountered.
-
PASS
public static final CacheUseCategoryTraceType PASS
Cache was passed through.
-
NOT_AVAILABLE
public static final CacheUseCategoryTraceType NOT_AVAILABLE
Cache was not available.
-
NOT_APPLICABLE
public static final CacheUseCategoryTraceType NOT_APPLICABLE
Cache was not applicable for given kind of operation.
-
-
Method Detail
-
values
public static CacheUseCategoryTraceType[] 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 (CacheUseCategoryTraceType c : CacheUseCategoryTraceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CacheUseCategoryTraceType 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
-
value
public String value()
-
fromValue
public static CacheUseCategoryTraceType fromValue(String v)
-
-