@InterfaceAudience.Public @InterfaceStability.Stable public enum OffloadedReadPriority extends Enum<OffloadedReadPriority>
| Enum Constant and Description |
|---|
BOOKKEEPER_FIRST
For offloaded messages, readers will try to read from bookkeeper at first,
if messages not exist at bookkeeper then read from offloaded storage.
|
TIERED_STORAGE_FIRST
For offloaded messages, readers will try to read from offloaded storage first,
even they are still exist in bookkeeper.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsName(String otherName) |
static OffloadedReadPriority |
fromString(String str) |
String |
getValue() |
String |
toString() |
static OffloadedReadPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OffloadedReadPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OffloadedReadPriority BOOKKEEPER_FIRST
public static final OffloadedReadPriority TIERED_STORAGE_FIRST
public static OffloadedReadPriority[] values()
for (OffloadedReadPriority c : OffloadedReadPriority.values()) System.out.println(c);
public static OffloadedReadPriority 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 boolean equalsName(String otherName)
public String toString()
toString in class Enum<OffloadedReadPriority>public static OffloadedReadPriority fromString(String str)
public String getValue()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.