public static enum Storage.StorageState extends Enum<Storage.StorageState>
Enum Constant and Description |
---|
COMPLETE_CHECKPOINT |
COMPLETE_FINALIZE |
COMPLETE_ROLLBACK |
COMPLETE_UPGRADE |
NON_EXISTENT |
NORMAL |
NOT_FORMATTED |
RECOVER_CHECKPOINT |
RECOVER_ROLLBACK |
RECOVER_UPGRADE |
Modifier and Type | Method and Description |
---|---|
static Storage.StorageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Storage.StorageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storage.StorageState NON_EXISTENT
public static final Storage.StorageState NOT_FORMATTED
public static final Storage.StorageState COMPLETE_UPGRADE
public static final Storage.StorageState RECOVER_UPGRADE
public static final Storage.StorageState COMPLETE_FINALIZE
public static final Storage.StorageState COMPLETE_ROLLBACK
public static final Storage.StorageState RECOVER_ROLLBACK
public static final Storage.StorageState COMPLETE_CHECKPOINT
public static final Storage.StorageState RECOVER_CHECKPOINT
public static final Storage.StorageState NORMAL
public static Storage.StorageState[] values()
for (Storage.StorageState c : Storage.StorageState.values()) System.out.println(c);
public static Storage.StorageState 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 © 2013 Apache Software Foundation. All rights reserved.