@PublicAPI(stability=PRIVATE)

Package org.opends.server.replication.server

This package contains the code for the Replication Server part of the Multimaster replication feature.
A replication server is responsible for :
  • listen for connections from ldap servers.
  • Connect/manage connection to other replication servers.
  • Receive changes from ldap servers.
  • Forward changes to ldap server and other replication servers.
  • Save changes to stable storage (includes trimming of older operations).

The main classes of this packages are :
  • ReplicationServerDomain implements the multiplexing part of the replication server. It contains method for forwarding all the received messages to the ServerHandler and to the dbHandler objects.
  • ServerHandler contains the code related to handler of remote server. It can manage replication servers of directory servers (may be it shoudl be splitted in two different classes, one for each of these).
  • ServerWriter the thread responsible for writing to the remote server.
  • ServerReader the thread responsible for reading from the remote object.
  • DbHandler DbHandler contains the code responsible for saving the changes to stable storage.