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

gbellato
28.06.2007 c36a6780c20f526df1bc6e1a3a3b71dfa8b9ec3d
opends/src/server/org/opends/server/core/Operation.java
@@ -138,6 +138,10 @@
  // in the response to the client.
  private StringBuilder errorMessage;
  // Indicates whether this operation nneds to be synchronized to
  // other copies of the data.
  private boolean dontSynchronizeFlag;
  /**
@@ -730,6 +734,21 @@
  }
  /**
   * Specifies whether this operation must be synchronized to other copies
   * of the data.
   *
   * @param  dontSynchronize  Specifies whether this operation must be
   *                          synchronized to other copies
   *                          of the data.
   */
  public final void setDontSynchronize(boolean dontSynchronize)
  {
    assert debugEnter(CLASS_NAME, "setDontSynchronize",
                      String.valueOf(dontSynchronize));
    this.dontSynchronizeFlag = dontSynchronize;
  }
  /**
   * Retrieves the entry for the user that should be considered the
@@ -1058,5 +1077,21 @@
   *                 operation should be appended.
   */
  public abstract void toString(StringBuilder buffer);
  /**
   * Indicates whether this operation needs to be synchronized to
   * other copies of the data.
   *
   * @return  <CODE>true</CODE> if this operation don't need to be
   *                            synchronized, or
   *          <CODE>false</CODE> if it needs to be synchronized.
   */
  public boolean dontSynchronize()
  {
    assert debugEnter(CLASS_NAME, "dontSynchronize");
    return dontSynchronizeFlag;
  }
}