|
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<SyncupProgress>
com.sleepycat.je.rep.SyncupProgress
public enum SyncupProgress
Describes the different phases of replication stream syncup that are
executed when a replica starts working with a new replication group master.
Meant to be used in conjunction with a
ProgressListener
that is configured through
ReplicationConfig.setSyncupProgressListener(com.sleepycat.je.ProgressListener
, to monitor the
occurrence and cost of replica sync-ups.
Enum Constant Summary | |
---|---|
CHECK_FOR_ROLLBACK
A matchpoint has been found, and the replica is determining whether it has to rollback any uncommitted replicated records applied from the previous master. |
|
DO_ROLLBACK
The replica is rolling back uncommitted replicated records applied from the previous master. |
|
END
Replication stream syncup has ended. |
|
FIND_MATCHPOINT
Syncup is starting up. |
Method Summary | |
---|---|
static SyncupProgress |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SyncupProgress[] |
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 SyncupProgress FIND_MATCHPOINT
public static final SyncupProgress CHECK_FOR_ROLLBACK
public static final SyncupProgress DO_ROLLBACK
public static final SyncupProgress END
Method Detail |
---|
public static SyncupProgress[] values()
for (SyncupProgress c : SyncupProgress.values()) System.out.println(c);
public static SyncupProgress 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 |