|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.controller.virtualdatabase.protocol.ReplicateLogEntries
This message is used both to prepare the sending of a set of log entries to a remote controller's vdb recovery log (intialization) and to terminate it (termination). Initialization is the second step of the process to rebuild the remote recovery log from a live one, termination is the final step of the process. The process is as such so that eventually the remote vdb backends can be restored from dumps. Upon reception of this message for the initialisation phase (identified by a null dumpCheckpointName), the remote recovery log is cleared from the beginning upto the 'now' checkpoint. Subsequently, CopyLogEntry messages are sent and log entries are inserted 'as are' into the remote recovery log. Then, upon reception of this message for the termination phase (non-null dumpCheckpointName), the remote recovery log makes the dumpCheckpointName available for restore operations.
CopyLogEntry
,
Serialized FormField Summary | |
private long |
checkpointId
|
private java.lang.String |
checkpointName
|
private java.lang.String |
dumpCheckpointName
|
private static long |
serialVersionUID
|
Constructor Summary | |
ReplicateLogEntries(java.lang.String checkpointName,
java.lang.String dumpCheckpointName,
long checkpointId)
Creates a new ReplicateLogEntries message |
Method Summary | |
long |
getCheckpointId()
Returns the Checkpoint id. |
java.lang.String |
getCheckpointName()
Returns the checkpointName value. |
java.lang.String |
getDumpCheckpointName()
Returns the dump checkpoint name . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private java.lang.String checkpointName
private java.lang.String dumpCheckpointName
private long checkpointId
Constructor Detail |
public ReplicateLogEntries(java.lang.String checkpointName, java.lang.String dumpCheckpointName, long checkpointId)
ReplicateLogEntries
message
checkpointName
- The checkpoint (aka now checkpoint) before wich
entries are to be replaced.checkpointId
- The id associated to checkpoint THIS ID SHOULD BE
HIDDENdumpCheckpointName
- The dump checkoint from wich entries are to be
replaced.Method Detail |
public java.lang.String getCheckpointName()
public java.lang.String getDumpCheckpointName()
public long getCheckpointId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |