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

matthew_swift
10.41.2008 218b40d6e175f5b58b89ff7e0b3050577d3aff2f
refs
author matthew_swift <matthew_swift@localhost>
Monday, November 10, 2008 14:41 +0100
committer matthew_swift <matthew_swift@localhost>
Monday, November 10, 2008 14:41 +0100
commit218b40d6e175f5b58b89ff7e0b3050577d3aff2f
tree c67b05398aeef0e8acb5cb4aa41b44b3964565da tree | zip | gz
parent 93ad50f0e8b182978c790c0707bd0a910ae2a39e view | diff
This change fixes issue 3567:

* Persistent searches are now registered in the following two places:

o the client connection associated with the search (i.e. as
before)

o per-WFE lists: it is now the responsibility of the WFE to
maintain this list.

* The PersistentSearch API has changed:

o it no longer depends on Operations for update notifications.
This means that the notifications can be sent from "out of
band" event sources, such as remote persistent searches
issued from a proxy WFE

o it now supports a cancel() method which should *always* be
used to cancel a persistent search. This method takes care
of all resource cleanup: deregistering from the client
connection and any WFE related resources

o in now provides a mechanism for registering callbacks which
should be invoked when the psearch is cancelled. This should
be used by WFE implementations that need to keep track of
the psearches that they are handling.

24 files modified
1489 ■■■■ changed files
opends/src/server/org/opends/server/api/ClientConnection.java 15 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/AbandonOperationBasis.java 9 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/AddOperationBasis.java 64 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DeleteOperationBasis.java 66 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DirectoryServer.java 55 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/ModifyDNOperationBasis.java 67 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/ModifyOperationBasis.java 68 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/OperationWrapper.java 8 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PersistentSearch.java 630 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/SearchOperationBasis.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java 8 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/jmx/JmxClientConnection.java 6 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 29 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/AbstractOperation.java 47 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/Operation.java 10 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendAddOperation.java 62 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendBindOperation.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendCompareOperation.java 15 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendDeleteOperation.java 63 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendModifyDNOperation.java 64 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendModifyOperation.java 84 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendSearchOperation.java 25 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java 79 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/internal/InternalClientConnectionTestCase.java 4 ●●●● diff | view | raw | blame | history