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

dugan
16.18.2008 0c04328d7c86a6b2d4badb96c79a22aba2fa7eca
opends/src/server/org/opends/server/backends/jeb/AttributeIndex.java
@@ -1224,6 +1224,38 @@
  }
  /**
   * Close cursors related to the attribute indexes.
   *
   * @throws DatabaseException If a database error occurs.
   */
  public void closeCursors() throws DatabaseException {
    if (equalityIndex != null)
    {
      equalityIndex.closeCursor();
    }
    if (presenceIndex != null)
    {
      presenceIndex.closeCursor();
    }
    if (substringIndex != null)
    {
      substringIndex.closeCursor();
    }
    if (orderingIndex != null)
    {
      orderingIndex.closeCursor();
    }
    if (approximateIndex != null)
    {
      approximateIndex.closeCursor();
    }
  }
  /**
   * Return the number of values that have exceeded the entry limit since this
   * object was created.
   *