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

neil_a_wilson
09.54.2006 6d1adc785e87fcf45219afc07cc435c6e9570b95
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/BackendImpl.java
@@ -611,6 +611,30 @@
  /**
   * {@inheritDoc}
   */
  public long getEntryCount()
  {
    assert debugEnter(CLASS_NAME, "getEntryCount");
    if (rootContainer != null)
    {
      try
      {
        return rootContainer.getEntryCount();
      }
      catch (Exception e)
      {
        assert debugException(CLASS_NAME, "getEntryCount", e);
      }
    }
    return -1;
  }
  /**
   * Retrieves the requested entry from this backend.  Note that the caller must
   * hold a read or write lock on the specified DN.
   *