public static enum LedgerOffloader.OffloadHandle.OfferEntryResult extends Enum<LedgerOffloader.OffloadHandle.OfferEntryResult>
| Enum Constant and Description |
|---|
FAIL_BUFFER_FULL |
FAIL_NOT_CONSECUTIVE |
FAIL_SEGMENT_CLOSED |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static LedgerOffloader.OffloadHandle.OfferEntryResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LedgerOffloader.OffloadHandle.OfferEntryResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LedgerOffloader.OffloadHandle.OfferEntryResult SUCCESS
public static final LedgerOffloader.OffloadHandle.OfferEntryResult FAIL_BUFFER_FULL
public static final LedgerOffloader.OffloadHandle.OfferEntryResult FAIL_SEGMENT_CLOSED
public static final LedgerOffloader.OffloadHandle.OfferEntryResult FAIL_NOT_CONSECUTIVE
public static LedgerOffloader.OffloadHandle.OfferEntryResult[] values()
for (LedgerOffloader.OffloadHandle.OfferEntryResult c : LedgerOffloader.OffloadHandle.OfferEntryResult.values()) System.out.println(c);
public static LedgerOffloader.OffloadHandle.OfferEntryResult 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.