org.opends.server.replication.plugin
Class UpdateToReplay

java.lang.Object
  extended by org.opends.server.replication.plugin.UpdateToReplay

public class UpdateToReplay
extends java.lang.Object

This is a bag class to hold an update to replay in the queue of updates to be replayed by the replay threads. It associates an update message to replay with the matching ReplicationDomain.


Constructor Summary
UpdateToReplay(UpdateMessage updateMessage, ReplicationDomain replicationDomain)
          Construct the object associating the update message with the replication domain that must be used to replay it (the on it comes from).
 
Method Summary
 ReplicationDomain getReplicationDomain()
          Getter for replication domain.
 UpdateMessage getUpdateMessage()
          Getter for update message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateToReplay

public UpdateToReplay(UpdateMessage updateMessage,
                      ReplicationDomain replicationDomain)
Construct the object associating the update message with the replication domain that must be used to replay it (the on it comes from).

Parameters:
updateMessage - The update message
replicationDomain - The replication domain to use for replaying the change from the update message
Method Detail

getUpdateMessage

public UpdateMessage getUpdateMessage()
Getter for update message.

Returns:
The update message

getReplicationDomain

public ReplicationDomain getReplicationDomain()
Getter for replication domain.

Returns:
The replication domain