java.io.Serializable, java.lang.Comparable<RecoveryProgress>public enum RecoveryProgress extends java.lang.Enum<RecoveryProgress>
ProgressListener that is configured through
EnvironmentConfig.setRecoveryProgressListener(com.sleepycat.je.ProgressListener<com.sleepycat.je.RecoveryProgress>) to monitor
the cost of environment startup| Enum Constant | Description |
|---|---|
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.
|
FINISH_VERIFICATION |
Finish verifying the data file checksums, in cases where this
takes longer than other parts of the single-threaded recovery
process.
|
POPULATE_EXPIRATION_PROFILE |
Populate internal metadata which stores information about the
expiration time/data windows (histogram) of each log file, for
efficient log cleaning.
|
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 |
Redo log entries that pertain to the database indices.
|
REDO_DATA_RECORDS |
Repeat committed data operations, such as inserts, updates
and deletes.
|
REDO_DBMAP_INFO |
Redo log entries that pertain to the database map, which is an
internal index of all databases.
|
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.
|
| Modifier and Type | Method | Description |
|---|---|---|
static RecoveryProgress |
valueOf(java.lang.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.
|
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 FINISH_VERIFICATION
public static final RecoveryProgress POPULATE_UTILIZATION_PROFILE
public static final RecoveryProgress POPULATE_EXPIRATION_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
public static RecoveryProgress[] values()
for (RecoveryProgress c : RecoveryProgress.values()) System.out.println(c);
public static RecoveryProgress valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright (c) 2002, 2018 Oracle and/or its affiliates. All rights reserved.