public enum CacheKeys extends Enum<CacheKeys>
| Enum Constant and Description |
|---|
COUNT
The number of objects in the cache
|
HITS
The number of hits
|
LOAD_TIME
The time the loader took to run in nanoseconds.
|
LOADS
The number of calls to a loader
|
MISSES
The number of misses
|
PUTS
The number of puts
|
REMOVES
The number of removes
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
toString() |
static CacheKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheKeys HITS
public static final CacheKeys MISSES
public static final CacheKeys REMOVES
public static final CacheKeys PUTS
public static final CacheKeys LOADS
public static final CacheKeys LOAD_TIME
public static final CacheKeys COUNT
public static CacheKeys[] values()
for (CacheKeys c : CacheKeys.values()) System.out.println(c);
public static CacheKeys 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 getName()
Copyright © 2016 Atlassian. All rights reserved.