public static enum UpdateLog.State extends Enum<UpdateLog.State>
Enum Constant and Description |
---|
ACTIVE |
APPLYING_BUFFERED |
BUFFERING |
REPLAYING |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static UpdateLog.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateLog.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateLog.State REPLAYING
public static final UpdateLog.State BUFFERING
public static final UpdateLog.State APPLYING_BUFFERED
public static final UpdateLog.State ACTIVE
public static UpdateLog.State[] values()
for (UpdateLog.State c : UpdateLog.State.values()) System.out.println(c);
public static UpdateLog.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 © 2000-2020 Apache Software Foundation. All Rights Reserved.