public static enum Committable.Kind extends Enum<Committable.Kind>
Enum Constant and Description |
---|
FILE |
LOG_OFFSET |
Modifier and Type | Method and Description |
---|---|
static Committable.Kind |
fromByteValue(byte value) |
byte |
toByteValue() |
static Committable.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Committable.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Committable.Kind FILE
public static final Committable.Kind LOG_OFFSET
public static Committable.Kind[] values()
for (Committable.Kind c : Committable.Kind.values()) System.out.println(c);
public static Committable.Kind 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 byte toByteValue()
public static Committable.Kind fromByteValue(byte value)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.