public static enum Cacheable.MemoryType extends Enum<Cacheable.MemoryType>
Modifier and Type | Method and Description |
---|---|
static Cacheable.MemoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cacheable.MemoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cacheable.MemoryType SHARED
public static final Cacheable.MemoryType EXCLUSIVE
public static Cacheable.MemoryType[] values()
for (Cacheable.MemoryType c : Cacheable.MemoryType.values()) System.out.println(c);
public static Cacheable.MemoryType 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 © 2007–2019 The Apache Software Foundation. All rights reserved.