public static enum CacheManager.State extends Enum<CacheManager.State>
Enum Constant and Description |
---|
NOT_IN_USE
this cache is not in use.
|
READ_ONLY
this cache is read only.
|
READ_WRITE
this cache can both read and write.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CacheManager.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheManager.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheManager.State NOT_IN_USE
public static final CacheManager.State READ_ONLY
public static final CacheManager.State READ_WRITE
public static CacheManager.State[] values()
for (CacheManager.State c : CacheManager.State.values()) System.out.println(c);
public static CacheManager.State 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 int getValue()
Copyright © 2023. All Rights Reserved.