From 8ff034142142a3103f6e84e0c50fb6d77328c854 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sat, 01 Sep 2007 22:41:49 +0000
Subject: [PATCH] Provide new directory environment properties that can be used to indicate whether the server should maintain a configuration archvie, and if so the maximum number of archived configurations that it should keep. By default, the archive will be enabled and will be configured to keep an unlimited number of previous configurations.
---
opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java b/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java
index b1cab30..23fab11 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -2531,6 +2531,28 @@
/**
* The name of the system property that can be used to determine whether the
+ * server should maintain an archive of previous configurations. If this is
+ * not set, or if the value is anything other than "false", then the server
+ * will maintain a configuration archive.
+ */
+ public static final String PROPERTY_MAINTAIN_CONFIG_ARCHIVE =
+ "org.opends.server.MaintainConfigArchive";
+
+
+
+ /**
+ * The name of the system property that can be used to specify the maximum
+ * number of archived configurations to maintain. If this is not set, or if
+ * it set to a zero or negative value, then there will be no limit on the
+ * number of archived configurations.
+ */
+ public static final String PROPERTY_MAX_CONFIG_ARCHIVE_SIZE =
+ "org.opends.server.MaxConfigArchiveSize";
+
+
+
+ /**
+ * The name of the system property that can be used to determine whether the
* Directory Server is starting up for the purpose of running the unit tests.
*/
public static final String PROPERTY_RUNNING_UNIT_TESTS =
--
Gitblit v1.10.0