public enum AbortCause extends Enum<AbortCause>
Enum Constant and Description |
---|
CONFLICT |
NETWORK |
NEW_SEQUENCER
Aborted because of slow writer, i.e., continuously gets overwritten (hole filled by faster reader)
|
OVERWRITE |
SEQUENCER_OVERFLOW
Aborted because an access to this snapshot resulted in a trim exception.
|
SEQUENCER_TRIM |
SIZE_EXCEEDED |
TRIM |
UNDEFINED |
UNSUPPORTED |
USER |
Modifier and Type | Method and Description |
---|---|
static AbortCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbortCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbortCause CONFLICT
public static final AbortCause OVERWRITE
public static final AbortCause NEW_SEQUENCER
public static final AbortCause SIZE_EXCEEDED
public static final AbortCause USER
public static final AbortCause NETWORK
public static final AbortCause TRIM
public static final AbortCause SEQUENCER_OVERFLOW
public static final AbortCause SEQUENCER_TRIM
public static final AbortCause UNSUPPORTED
public static final AbortCause UNDEFINED
public static AbortCause[] values()
for (AbortCause c : AbortCause.values()) System.out.println(c);
public static AbortCause 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 © 2019 CorfuDB. All rights reserved.