public enum CacheStatus extends Enum<CacheStatus>
Enum Constant and Description |
---|
ALIVE
Cache alive status.
|
DISPOSED
Cache disposed status.
|
ERROR
Cache in error.
|
Modifier and Type | Method and Description |
---|---|
static CacheStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheStatus ALIVE
public static final CacheStatus DISPOSED
public static final CacheStatus ERROR
public static CacheStatus[] values()
for (CacheStatus c : CacheStatus.values()) System.out.println(c);
public static CacheStatus 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 nullCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.