From 875fa183c58411ff51a5cb208d5043df139fd033 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Fri, 30 Jul 2010 12:44:12 +0000
Subject: [PATCH] Implements a disk space thresholds feature, preventing the server from crashing or exiting of disks full.
---
opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 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 fc6c8db..4b325ea 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
@@ -1810,6 +1810,48 @@
/**
* The description for the alert type that will be used for the alert
+ * notification generated when the free disk space have reached
+ * the low threshold.
+ */
+ public static final String ALERT_DESCRIPTION_DISK_SPACE_LOW =
+ "This alert type will be used to provide notification that the " +
+ "free disk space have reached the low threshold.";
+
+
+
+ /**
+ * The alert type string that will be used for the alert notification
+ * generated when the JE Environment needs to be reopened by restarting
+ * the Directory Server.
+ */
+ public static final String ALERT_TYPE_DISK_SPACE_LOW =
+ "org.opends.server.DiskSpaceLow";
+
+
+
+ /**
+ * The description for the alert type that will be used for the alert
+ * notification generated when the free disk space have reached
+ * the full threshold.
+ */
+ public static final String ALERT_DESCRIPTION_DISK_FULL =
+ "This alert type will be used to provide notification that the " +
+ "free disk space have reached the full threshold.";
+
+
+
+ /**
+ * The alert type string that will be used for the alert notification
+ * generated when the JE Environment needs to be reopened by restarting
+ * the Directory Server.
+ */
+ public static final String ALERT_TYPE_DISK_FULL =
+ "org.opends.server.DiskFull";
+
+
+
+ /**
+ * 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.
*/
--
Gitblit v1.10.0