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

matthew_swift
13.22.2008 347a872b693e46c105e953ea331616c8a566d745
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
commit347a872b693e46c105e953ea331616c8a566d745
tree 9a400736e933a99cc5a2f573c3a74259b8bc889f tree | zip | gz
parent 20abc6fd4f3377b5546b9101006ba4b609d03ce4 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
opends/src/server/org/opends/server/core/PersistentSearch.java 137 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/SearchOperation.java 14 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/SearchOperationBasis.java 27 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/SearchOperationWrapper.java 16 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 11 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendSearchOperation.java 4 ●●● diff | view | raw | blame | history