Enum CacheMetricsKeys
- java.lang.Object
- 
- java.lang.Enum<CacheMetricsKeys>
- 
- com.atlassian.confluence.impl.vcache.metrics.CacheMetricsKeys
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<CacheMetricsKeys>
 
 public enum CacheMetricsKeys extends Enum<CacheMetricsKeys> Types of common metrics supported by caches.- Since:
- 5.10
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringkey()static CacheMetricsKeysvalueOf(String name)Returns the enum constant of this type with the specified name.static CacheMetricsKeys[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
HITSpublic static final CacheMetricsKeys HITS 
 - 
MISSESpublic static final CacheMetricsKeys MISSES 
 - 
LOAD_TIMEpublic static final CacheMetricsKeys LOAD_TIME 
 - 
PUT_TIMEpublic static final CacheMetricsKeys PUT_TIME 
 - 
GET_TIMEpublic static final CacheMetricsKeys GET_TIME 
 
- 
 - 
Method Detail- 
valuespublic static CacheMetricsKeys[] 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 (CacheMetricsKeys c : CacheMetricsKeys.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static CacheMetricsKeys 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 name
- NullPointerException- if the argument is null
 
 - 
keypublic String key() 
 
- 
 
-