Class UpdateToReplay
- java.lang.Object
-
- org.opends.server.replication.plugin.UpdateToReplay
-
public class UpdateToReplay extends Object
A delivery in the shared replay queue, associating an update with its domain. Cancellation belongs to this delivery, so an enqueue or claim failure can release it without acquiring the pending-changes lock or cancelling a newer retry.
-
-
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
-
-