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

boli
24.50.2006 bf7b61bf7e22fc0c1c0bf69255f44d0139c86937
opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -378,6 +378,10 @@
  // unless overridden on a per-user basis.
  private int timeLimit;
  // The maxiumum number of candidates that should be check for matches during
  // a search.
  private int lookthroughLimit;
  // The key manager provider for the Directory Server.
  private KeyManagerProvider keyManagerProvider;
@@ -7133,6 +7137,39 @@
  /**
   * Retrieves the default maximum number of entries that should checked for
   * matches during a search.
   *
   * @return  The default maximum number of entries that should checked for
   *          matches during a search.
   */
  public static int getLookthroughLimit()
  {
    assert debugEnter(CLASS_NAME, "getLookthroughLimit");
    return directoryServer.lookthroughLimit;
  }
  /**
   * Specifies the default maximum number of entries that should be checked for
   * matches during a search.
   *
   * @param  lookthroughLimit  The default maximum number of entries that should
   *                           be check for matches during a search.
   */
  public static void setLookthroughLimit(int lookthroughLimit)
  {
    assert debugEnter(CLASS_NAME, "setLookthroughLimit",
      String.valueOf(lookthroughLimit));
    directoryServer.lookthroughLimit = lookthroughLimit;
  }
  /**
   * Retrieves the default maximum length of time in seconds that should be
   * allowed when processing a search.
   *