public static enum ManagedLedgerImpl.State extends Enum<ManagedLedgerImpl.State>
| Enum Constant and Description |
|---|
Closed |
ClosedLedger |
ClosingLedger |
CreatingLedger |
Fenced |
LedgerOpened |
None |
Terminated |
WriteFailed |
| Modifier and Type | Method and Description |
|---|---|
static ManagedLedgerImpl.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagedLedgerImpl.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagedLedgerImpl.State None
public static final ManagedLedgerImpl.State LedgerOpened
public static final ManagedLedgerImpl.State ClosingLedger
public static final ManagedLedgerImpl.State ClosedLedger
public static final ManagedLedgerImpl.State CreatingLedger
public static final ManagedLedgerImpl.State Closed
public static final ManagedLedgerImpl.State Fenced
public static final ManagedLedgerImpl.State Terminated
public static final ManagedLedgerImpl.State WriteFailed
public static ManagedLedgerImpl.State[] values()
for (ManagedLedgerImpl.State c : ManagedLedgerImpl.State.values()) System.out.println(c);
public static ManagedLedgerImpl.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 nullCopyright © 2017–2021 Apache Software Foundation. All rights reserved.