org.opends.server.replication.server
Class ReplServerAckMessageList

java.lang.Object
  extended by org.opends.server.replication.server.AckMessageList
      extended by org.opends.server.replication.server.ReplServerAckMessageList

public class ReplServerAckMessageList
extends AckMessageList

This class is used to store acks for update messages coming from other replication servers.


Constructor Summary
ReplServerAckMessageList(ChangeNumber changeNumber, int numExpectedAcks, short replicationServerId, ReplicationServerDomain replicationServerDomain)
          Creates a new AckMessageList for a given ChangeNumber.
 
Method Summary
 ReplicationServerDomain getChangelogCache()
          Get the replicationServerDomain of the replication server from which we received the change.
 short getReplicationServerId()
          Get the Identifier of the replication server from which we received the change.
 
Methods inherited from class org.opends.server.replication.server.AckMessageList
addAck, completed, getChangeNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplServerAckMessageList

public ReplServerAckMessageList(ChangeNumber changeNumber,
                                int numExpectedAcks,
                                short replicationServerId,
                                ReplicationServerDomain replicationServerDomain)
Creates a new AckMessageList for a given ChangeNumber.

Parameters:
changeNumber - The ChangeNumber for which the ack list is created.
numExpectedAcks - The number of acks waited before acking the original change.
replicationServerId - The Identifier of the replication server from which the change was received.
replicationServerDomain - The ReplicationServerDomain from which he change was received.
Method Detail

getReplicationServerId

public short getReplicationServerId()
Get the Identifier of the replication server from which we received the change.

Returns:
Returns the Identifier of the replication server from which we received the change.

getChangelogCache

public ReplicationServerDomain getChangelogCache()
Get the replicationServerDomain of the replication server from which we received the change.

Returns:
Returns the replicationServerDomain of the replication server from which we received the change .