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

matthew_swift
13.22.2008 4ee9f7e5b2a8ae82e1969b0fc6e29d96c2994a11
refs
author matthew_swift <matthew_swift@localhost>
Thursday, November 13, 2008 20:22 +0100
committer matthew_swift <matthew_swift@localhost>
Thursday, November 13, 2008 20:22 +0100
commit4ee9f7e5b2a8ae82e1969b0fc6e29d96c2994a11
tree 269a0cf038cd03780547d85df4c5167cb31f6d6d tree | zip | gz
parent 2db42100413cbf3b2f150535637ea60b34b3ea7d view | diff
This change relates to issue 3567.

In certain scenarios (e.g. distribution) a single client side persistent search may result in multiple back-end persistent searches being launched. The current server design only supported a one to one relationship. This change removes the restriction:

* persistent search is no longer stored in the search operation

* client connection operation cancellation now supports having
multiple PersistentSearch objects per client search

* PersistentSearch operation cancellation now cancels all related
PersistentSearches

* PersistentSearch instances must be enabled before use: doing this
registers the persistent search with the client connection and
prevents the underlying search operation from having a result sent.

I have also updated the class' javadoc to include more complete usage information.
6 files modified
209 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/core/PersistentSearch.java 137 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/SearchOperation.java 14 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/SearchOperationBasis.java 27 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/SearchOperationWrapper.java 16 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendSearchOperation.java 4 ●●● diff | view | raw | blame | history