From b506a6cd184bd8cf477f7d9a7f968c990f153528 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 23 Mar 2015 23:03:19 +0000
Subject: [PATCH] OPENDJ-1848 CR-6383: Remove Storage getRMW and putIfAbsent methods

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/WriteableStorage.java |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/WriteableStorage.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/WriteableStorage.java
index fefc656..8da03c9 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/WriteableStorage.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/WriteableStorage.java
@@ -72,22 +72,6 @@
   void create(TreeName treeName, ByteSequence key, ByteSequence value);
 
   /**
-   * Creates a new record with the provided key and value, in the tree whose name is provided, if
-   * the key was not previously associated to any record.
-   *
-   * @param treeName
-   *          the tree name
-   * @param key
-   *          the key of the new record
-   * @param value
-   *          the value of the new record
-   * @return {@code true} if the new record could be created, {@code false} otherwise
-   * @deprecated use {@link #update(TreeName, ByteSequence, UpdateFunction)} instead
-   */
-  @Deprecated
-  boolean putIfAbsent(TreeName treeName, ByteSequence key, ByteSequence value);
-
-  /**
    * Updates a record with the provided key according to the new value computed by the update function.
    *
    * @param treeName

--
Gitblit v1.10.0