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

Jean-Noel Rouvignac
08.10.2013 fe7f48c4d11f7b4a003038f2e406a148eac48d1e
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
commitfe7f48c4d11f7b4a003038f2e406a148eac48d1e
tree e13412bc3c5b6a5b364eb90f81388b410aeba56f tree | zip | gz
parent 19298042f99ef0a659f9271d022f58884a18704b 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
opends/src/server/org/opends/server/replication/common/MultiDomainServerState.java 35 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ECLServerHandler.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 12 ●●●● diff | view | raw | blame | history