| java.lang.Object org.continuent.sequoia.controller.virtualdatabase.protocol.DistributedVirtualDatabaseMessage org.continuent.sequoia.controller.virtualdatabase.protocol.ReplicateLogEntries
ReplicateLogEntries | public class ReplicateLogEntries extends DistributedVirtualDatabaseMessage (Code) | | 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.
See Also: CopyLogEntry author: Emmanuel Cecchet version: 1.0 |
Constructor Summary | |
public | ReplicateLogEntries(String checkpointName, String dumpCheckpointName, String dumpName, long checkpointId) Creates a new ReplicateLogEntries message
Parameters: checkpointName - The checkpoint (aka now checkpoint) before wichentries are to be replaced. Parameters: dumpCheckpointName - The dump checkoint from which entries are to bereplaced. |
ReplicateLogEntries | public ReplicateLogEntries(String checkpointName, String dumpCheckpointName, String dumpName, long checkpointId)(Code) | | Creates a new ReplicateLogEntries message
Parameters: checkpointName - The checkpoint (aka now checkpoint) before wichentries are to be replaced. Parameters: dumpCheckpointName - The dump checkoint from which entries are to bereplaced. If this one is null, the recovery log is reset. Parameters: dumpName - the name of the dump associated to dumpCheckpointName. Parameters: checkpointId - The id associated to checkpoint THIS ID SHOULD BEHIDDEN |
getCheckpointId | public long getCheckpointId()(Code) | | Returns the Checkpoint id.
the Checkpoint id |
getCheckpointName | public String getCheckpointName()(Code) | | Returns the checkpointName value.
Returns the 'now' checkpointName. |
getDumpCheckpointName | public String getDumpCheckpointName()(Code) | | Returns the dump checkpoint name .
Returns the dump CheckpointName. |
|
|