Class UpdateToReplay
- java.lang.Object
-
- org.opends.server.replication.plugin.UpdateToReplay
-
public class UpdateToReplay extends 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
Constructors Constructor Description UpdateToReplay(LDAPUpdateMsg updateMessage, LDAPReplicationDomain 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LDAPReplicationDomaingetReplicationDomain()Getter for replication domain.LDAPUpdateMsggetUpdateMessage()Getter for update message.
-
-
-
Constructor Detail
-
UpdateToReplay
public UpdateToReplay(LDAPUpdateMsg updateMessage, LDAPReplicationDomain 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 messagereplicationDomain- The replication domain to use for replaying the change from the update message
-
-
Method Detail
-
getUpdateMessage
public LDAPUpdateMsg getUpdateMessage()
Getter for update message.- Returns:
- The update message
-
getReplicationDomain
public LDAPReplicationDomain getReplicationDomain()
Getter for replication domain.- Returns:
- The replication domain
-
-