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

Fabio Pistolesi
27.38.2015 f4fc21a222c514860b5232cce2d9f890639f5b5a
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Tree.java
@@ -38,15 +38,16 @@
interface Tree
{
  /**
   * Opens a tree. If the provided configuration is transactional,
   * Opens a tree, optionally creating it. If the provided configuration is transactional,
   * a transaction will be created and used to perform the open.
   *
   * @param txn
   *          a non null transaction
   * @param createOnDemand true if the tree should be created if it does not exist
   * @throws StorageRuntimeException
   *           if an error occurs while opening the index.
   */
  void open(WriteableTransaction txn) throws StorageRuntimeException;
  void open(WriteableTransaction txn, boolean createOnDemand) throws StorageRuntimeException;
  /**
   * Deletes this tree and all of its contents.