@InterfaceAudience.Private public enum BlockPriority extends Enum<BlockPriority>
Enum Constant and Description |
---|
MEMORY
Block from in-memory store
|
MULTI
Accessed multiple times
|
SINGLE
Accessed a single time (used for scan-resistance)
|
Modifier and Type | Method and Description |
---|---|
static BlockPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockPriority SINGLE
public static final BlockPriority MULTI
public static final BlockPriority MEMORY
public static BlockPriority[] values()
for (BlockPriority c : BlockPriority.values()) System.out.println(c);
public static BlockPriority 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.