Class 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 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 message
        replicationDomain - 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