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

Matthew Swift
23.45.2013 eeb2e4f0a3ddfdf3ae9ab8fe3be4f824566f0e8d
refs
author Matthew Swift <matthew.swift@forgerock.com>
Monday, December 23, 2013 16:45 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Monday, December 23, 2013 16:45 +0100
commiteeb2e4f0a3ddfdf3ae9ab8fe3be4f824566f0e8d
tree fc6dfb76c3bea7ce2954d374c5c6abccdef4b8fa tree | zip | gz
parent a3034db214947bd86dc9cf1efaf7a42da92291a5 view | diff
Fix feature envy between ListenerThread and ReplicationDomain

ListenerThread was 100% implemented in terms of ReplicationDomain method calls. It should therefore be part of ReplicationDomain.

* inline ListenerThread into ReplicationDomain and use new DirectoryThread lifecycle methods
* remove shutdown parameter from ReplicationDomain.processUpdate()
* reduce visibility of ReplicationDomain.receive()
* inline ReplicationDomain.processUpdateDoneSynchronous().
1 files deleted
8 files modified
305 ■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/service/ListenerThread.java 157 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/service/ReplicationDomain.java 114 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/DummyReplicationDomain.java 3 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/FractionalReplicationTest.java 3 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/NamingConflictTest.java 14 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/AssuredReplicationServerTest.java 4 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/service/FakeReplicationDomain.java 3 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/service/FakeStressReplicationDomain.java 3 ●●●● diff | view | raw | blame | history