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

Jean-Noel Rouvignac
17.08.2015 e73561d3b0db47696c578736a50489a454ad6f9c
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/ReadableStorage.java
@@ -25,13 +25,15 @@
 */
package org.opends.server.backends.pluggable.spi;
import java.io.Closeable;
import org.forgerock.opendj.ldap.ByteSequence;
import org.forgerock.opendj.ldap.ByteString;
/**
 * Represents a readable transaction on a storage engine.
 */
public interface ReadableStorage
public interface ReadableStorage extends Closeable
{
  /**
   * Reads the record's value associated to the provided key, in the tree whose name is provided.
@@ -75,4 +77,7 @@
   * @return the number of key/value pairs in the provided tree.
   */
  long getRecordCount(TreeName treeName);
  @Override
  public void close();
}