Class PersistentSearch

java.lang.Object
org.opends.server.core.PersistentSearch

public final class PersistentSearch extends Object
This class defines a data structure that will be used to hold the information necessary for processing a persistent search. Operations are responsible for managing the persistent searches that they are currently handling. Typically, a search operation will first decode the persistent search control and construct a new PersistentSearch.
  • Method Details

    • abort

      public void abort()
      Server side abort of this persistent search operation. Has the same behaviour as client cancel cancel(LocalizableMessage), (invalidate persistent search, associated searches cancelled) and it sends a result code to the client to warn of the server error.
    • searchOperation

      public SearchOperation searchOperation()
      Returns the search operation.
      Returns:
      The search operation.
    • isChangesOnly

      public boolean isChangesOnly()
      Returns true if this persistent search should only return changes.
      Returns:
      true if this persistent search should only return changes.
    • toString

      public String toString()
      Retrieves a string representation of this persistent search.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this persistent search.