protected static enum CacheMonitor.ErrorCategory extends java.lang.Enum<CacheMonitor.ErrorCategory>
| Enum Constant and Description |
|---|
COMMAND |
CONNECTION |
DATA |
RESOURCE |
| Modifier and Type | Method and Description |
|---|---|
static CacheMonitor.ErrorCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheMonitor.ErrorCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheMonitor.ErrorCategory CONNECTION
public static final CacheMonitor.ErrorCategory COMMAND
public static final CacheMonitor.ErrorCategory DATA
public static final CacheMonitor.ErrorCategory RESOURCE
public static CacheMonitor.ErrorCategory[] values()
for (CacheMonitor.ErrorCategory c : CacheMonitor.ErrorCategory.values()) System.out.println(c);
public static CacheMonitor.ErrorCategory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null