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

Jean-Noel Rouvignac
05.11.2013 f0e8a1d56dff83fb0a72d7c7718061e6429d8670
opends/src/server/org/opends/server/replication/protocol/StartECLSessionMsg.java
@@ -66,24 +66,34 @@
  public final static short REQUEST_TYPE_EQUALS_REPL_CHANGE_NUMBER = 2;
  /**
   * This specifies that the request on the ECL is a PERSISTENT search
   * with changesOnly = false.
   * This specifies that the request on the ECL is a PERSISTENT search with
   * changesOnly = false.
   * <p>
   * It will return the content of the changelog DB as it is now, plus any
   * subsequent changes.
   */
  public final static short PERSISTENT = 0;
  /**
   * This specifies that the request on the ECL is a NOT a PERSISTENT search.
   * <p>
   * It will only return the content of the changelog DB as it is now, and stop.
   * It will NOT be turned into a persistent search that can return subsequent
   * changes.
   */
  public final static short NON_PERSISTENT = 1;
  /**
   * This specifies that the request on the ECL is a PERSISTENT search
   * with changesOnly = true.
   * This specifies that the request on the ECL is a PERSISTENT search with
   * changesOnly = true.
   * <p>
   * It will only return subsequent changes that do not exist yet in the
   * changelog DB.
   */
  public final static short PERSISTENT_CHANGES_ONLY = 2;
  /** The type of request as defined by REQUEST_TYPE_... */
  private short  eclRequestType;
  private short eclRequestType;
  /**
   * When eclRequestType = FROM_COOKIE, specifies the provided cookie value.
@@ -103,8 +113,14 @@
   */
  private CSN csn;
  /** Specifies whether the search is persistent and changesOnly. */
  private short  isPersistent = NON_PERSISTENT;
  /**
   * Specifies whether the search is persistent and changesOnly.
   *
   * @see #NON_PERSISTENT
   * @see #PERSISTENT
   * @see #PERSISTENT_CHANGES_ONLY
   */
  private short isPersistent = NON_PERSISTENT;
  /**
   * A string helping debugging and tracing the client operation related when