From 6c344c0b005235e10fae64bad1571fe386b8e118 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sun, 23 Sep 2007 02:38:12 +0000
Subject: [PATCH] Add support for an LDIF backend. Entries in this backend will be held in memory, and all read operations will be served from memory, but the underlying data will be stored in an LDIF file on disk and any write operation will cause that LDIF file to be updated.
---
opends/src/server/org/opends/server/util/ServerConstants.java | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/util/ServerConstants.java b/opends/src/server/org/opends/server/util/ServerConstants.java
index a202534..b018028 100644
--- a/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -1676,6 +1676,28 @@
/**
* The description for the alert type that will be used for the alert
+ * notification generated when the LDIF backend cannot write an updated LDIF
+ * file.
+ */
+ public static final String
+ ALERT_DESCRIPTION_LDIF_BACKEND_CANNOT_WRITE_UPDATE =
+ "This alert type will be used to provide notification that an " +
+ "LDIF backend was unable to store an updated copy of the LDIF " +
+ "file after processing a write operation.";
+
+
+
+ /**
+ * The alert type string that will be used for the alert notification
+ * generated when the LDIF backend cannot write an updated LDIF file.
+ */
+ public static final String ALERT_TYPE_LDIF_BACKEND_CANNOT_WRITE_UPDATE =
+ "org.opends.server.LDIFBackendCannotWriteUupdate";
+
+
+
+ /**
+ * The description for the alert type that will be used for the alert
* notification generated when the LDIF connection handler is unable to
* process the contents of a file as valid LDIF.
*/
--
Gitblit v1.10.0