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 :
The main classes of this packages are :
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.
-
Class Summary Class Description ChangelogState This is the changelog state stored in the changelogStateDB.DataServerHandler This class defines a server handler, which handles all interaction with a peer server (RS or DS).ExpectedAcksInfo This class is the mother class for sub-classes holding any information needed about the acks that the replication server will wait for, when he receives an update message with the assured flag on (assured replication acknowledgments expected).LightweightServerHandler This class defines a server handler dedicated to the remote LDAP servers connected to a remote Replication Server.MonitoringPublisher This thread regularly publishes monitoring information: - it sends monitoring messages regarding the direct topology (directly connected DSs and RSs) to the connected RSs - it sends monitoring messages regarding the whole topology (also includes the local RS) to the connected DSs Note: as of today, monitoring messages mainly contains the server state of the entities.MsgQueue This class is used to build ordered lists of UpdateMsg.ReplicationServer ReplicationServer Listener.ReplicationServerConnectThread This Class is used to create a thread that is responsible for opening connection from this replication server to the other Replication Servers.ReplicationServerDomain This class define an in-memory cache that will be used to store the messages that have been received from an LDAP server or from another replication server and that should be forwarded to other servers.ReplicationServerHandler This class defines a server handler, which handles all interaction with a peer replication server.ReplicationServerListenThread This Class is used to create a thread that is responsible for listening on the Replication Server thread and accept new incoming connections from other replication servers or from LDAP servers.SafeDataExpectedAcksInfo This class holds every info needed about the expected acks for a received update message requesting assured replication with Safe Data sub-mode.SafeReadExpectedAcksInfo This class holds every info needed about the expected acks for a received update message requesting assured replication with Safe Read sub-mode.ServerHandler This class defines a server handler : - that is a MessageHandler (see this class for more details) - that handles all interaction with a peer server (RS or DS).ServerReader This class implement the part of the replicationServer that is reading the connection from the LDAP servers to get all the updates that were done on this replica and forward them to other servers.ServerWriter This class defines a server writer, which is used to send changes to a directory server.