|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RecoveryProgress>
com.sleepycat.je.RecoveryProgress
public enum RecoveryProgress
Describes the different phases of initialization that
be executed when an Environment is instantiated. Meant to be used in
conjunction with a ProgressListener
that is configured through
EnvironmentConfig.setRecoveryProgressListener(com.sleepycat.je.ProgressListener
to monitor
the cost of environment startup
Enum Constant Summary | |
---|---|
BECOME_CONSISTENT
For replicated systems only: if a replica, process enough of the replication stream so that the environment fulfills the required consistency policy, as defined by parameters passed to the ReplicatedEnvironment constructor. |
|
CKPT
Perform a checkpoint to make all the work of this environment startup persistent, so it is not repeated in future startups. |
|
FIND_END_OF_LOG
Find the last valid entry in the database log. |
|
FIND_LAST_CKPT
Find the last complete checkpoint in the database log. |
|
FIND_MASTER
For replicated systems only: locate the master of the replication group by querying others in the group, and holding an election if necessary. |
|
POPULATE_UTILIZATION_PROFILE
Populate internal metadata which stores information about the utilization level of each log file, for efficient log cleaning. |
|
READ_DATA_INFO
Read log entries that pertain to the database indices. |
|
READ_DBMAP_INFO
Read log entries that pertain to the database map, which is an internal index of all databases. |
|
RECOVERY_FINISHED
Basic recovery is completed, and the environment is able to service operations. |
|
REDO_DATA_INFO
Re-read log entries that pertain to the database indices when they appear after a btree split. |
|
REDO_DATA_RECORDS
Repeat committed data operations, such as inserts, updates and deletes. |
|
REDO_DBMAP_INFO
Re-read log entries that pertain to the database map when they appear after a btree split. |
|
REDO_DBMAP_RECORDS
Redo committed database creation, deletion and truncations. |
|
REMOVE_TEMP_DBS
Remove temporary databases created by the application that are no longer valid. |
|
UNDO_DATA_RECORDS
Rollback uncommitted data operations, such as inserts, updates and deletes. |
|
UNDO_DBMAP_RECORDS
Rollback uncommitted database creation, deletion and truncations. |
Method Summary | |
---|---|
static RecoveryProgress |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RecoveryProgress[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RecoveryProgress FIND_END_OF_LOG
public static final RecoveryProgress FIND_LAST_CKPT
public static final RecoveryProgress READ_DBMAP_INFO
public static final RecoveryProgress REDO_DBMAP_INFO
public static final RecoveryProgress UNDO_DBMAP_RECORDS
public static final RecoveryProgress REDO_DBMAP_RECORDS
public static final RecoveryProgress READ_DATA_INFO
public static final RecoveryProgress REDO_DATA_INFO
public static final RecoveryProgress UNDO_DATA_RECORDS
public static final RecoveryProgress REDO_DATA_RECORDS
public static final RecoveryProgress POPULATE_UTILIZATION_PROFILE
public static final RecoveryProgress REMOVE_TEMP_DBS
public static final RecoveryProgress CKPT
public static final RecoveryProgress RECOVERY_FINISHED
public static final RecoveryProgress FIND_MASTER
public static final RecoveryProgress BECOME_CONSISTENT
Method Detail |
---|
public static RecoveryProgress[] values()
for (RecoveryProgress c : RecoveryProgress.values()) System.out.println(c);
public static RecoveryProgress valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |