mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
08.10.2013 881fcca7e2809a1f9915e88b9236db7174cc003a
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, October 8, 2013 11:10 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, October 8, 2013 11:10 +0200
commit881fcca7e2809a1f9915e88b9236db7174cc003a
tree 5d609da16a6f4771311276bb2a3aeb2c05a2908e tree | zip | gz
parent c210356ee7f6b0037e2d672a4a11e83bbd160b0e view | diff
OPENDJ-1116 Introduce abstraction for the changelog DB

MultiDomainServerState.java
In update() removed the call to ServerState.duplicate() and let client code decide whether it needs to call it.
In toString(), use dSTringBuilder.
Code cleanup, removed use of "this" and useless parentheses.

ReplicationServer.java:
In getLastECLCookie(), made the code more efficient: called ReplicationServerDomain.getLatestServerState() only if the baseDN is not excluded.

ECLServerHandler.java:
In buildDomainContexts(), Call ServerState.duplicate() before calling MultiDomainServerState.update().
3 files modified
49 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/common/MultiDomainServerState.java 35 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ECLServerHandler.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 12 ●●●● diff | view | raw | blame | history