From 6669e6d8a40905f214d83c36ffade6811b41844b Mon Sep 17 00:00:00 2001
From: Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Date: Mon, 23 Mar 2015 13:55:15 +0000
Subject: [PATCH] OPENDJ-1727 CR-6350 db-cache-percent default values in persistit backend probably too aggressive
---
opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java | 15 +++------------
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java b/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
index d4f59b5..348afa0 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
@@ -113,16 +113,6 @@
new ConcurrentLinkedQueue<PersistentSearch>();
/**
- * Temporarily sets up the server context for the first phase of add of a new configuration entry.
- * Needed for checking storage parameters before committing the change in configuration.
- *
- * @param context the server context for this instance
- */
- public void setServerContext(ServerContext context)
- {
- }
-
- /**
* Configure this backend based on the information in the provided
* configuration.
*
@@ -149,13 +139,14 @@
* @param unacceptableReasons A list that may be used to hold the
* reasons that the provided
* configuration is not acceptable.
- *
+ * @param serverContext this Directory Server instance's server context
+ *
* @return {@code true} if the provided configuration is acceptable
* for this backend, or {@code false} if not.
*/
public boolean isConfigurationAcceptable(
C configuration,
- List<LocalizableMessage> unacceptableReasons)
+ List<LocalizableMessage> unacceptableReasons, ServerContext serverContext)
{
// This default implementation does not perform any special
// validation. It should be overridden by backend implementations
--
Gitblit v1.10.0