From 7486ef2bb077feb489a55db86707d96e69d12265 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.

---
 opends/src/server/org/opends/server/monitors/ConnectionHandlerMonitor.java |   25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)

diff --git a/opends/src/server/org/opends/server/monitors/ConnectionHandlerMonitor.java b/opends/src/server/org/opends/server/monitors/ConnectionHandlerMonitor.java
index 1979ea1..1df1272 100644
--- a/opends/src/server/org/opends/server/monitors/ConnectionHandlerMonitor.java
+++ b/opends/src/server/org/opends/server/monitors/ConnectionHandlerMonitor.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Copyright 2006-2010 Sun Microsystems, Inc.
  */
 package org.opends.server.monitors;
 
@@ -84,8 +84,6 @@
   public ConnectionHandlerMonitor(
        ConnectionHandler<? extends ConnectionHandlerCfg> connectionHandler)
   {
-    super(connectionHandler.getConnectionHandlerName());
-
     this.connectionHandler = connectionHandler;
   }
 
@@ -148,27 +146,6 @@
   /**
    * {@inheritDoc}
    */
-  public long getUpdateInterval()
-  {
-    // We don't need do anything on a periodic basis.
-    return 0;
-  }
-
-
-
-  /**
-   * {@inheritDoc}
-   */
-  public void updateMonitorData()
-  {
-    // No implementaiton is required.
-  }
-
-
-
-  /**
-   * {@inheritDoc}
-   */
   public List<Attribute> getMonitorData()
   {
     LinkedList<Attribute> attrs = new LinkedList<Attribute>();

--
Gitblit v1.10.0