public static enum ManagedCursorImpl.State extends Enum<ManagedCursorImpl.State>
| Enum Constant and Description |
|---|
Closed |
Closing |
NoLedger |
Open |
SwitchingLedger |
Uninitialized |
| Modifier and Type | Method and Description |
|---|---|
static ManagedCursorImpl.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagedCursorImpl.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagedCursorImpl.State Uninitialized
public static final ManagedCursorImpl.State NoLedger
public static final ManagedCursorImpl.State Open
public static final ManagedCursorImpl.State SwitchingLedger
public static final ManagedCursorImpl.State Closing
public static final ManagedCursorImpl.State Closed
public static ManagedCursorImpl.State[] values()
for (ManagedCursorImpl.State c : ManagedCursorImpl.State.values()) System.out.println(c);
public static ManagedCursorImpl.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–2022 Apache Software Foundation. All rights reserved.