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/replication/server/DbHandler.java | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/DbHandler.java b/opends/src/server/org/opends/server/replication/server/DbHandler.java
index 72b31c2..e36cd6a 100644
--- a/opends/src/server/org/opends/server/replication/server/DbHandler.java
+++ b/opends/src/server/org/opends/server/replication/server/DbHandler.java
@@ -565,11 +565,6 @@
*/
private class DbMonitorProvider extends MonitorProvider<MonitorProviderCfg>
{
- private DbMonitorProvider()
- {
- super("ReplicationServer Database");
- }
-
/**
* {@inheritDoc}
*/
@@ -619,30 +614,11 @@
* {@inheritDoc}
*/
@Override
- public long getUpdateInterval()
- {
- /* we don't wont to do polling on this monitor */
- return 0;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
public void initializeMonitorProvider(MonitorProviderCfg configuration)
throws ConfigException,InitializationException
{
// Nothing to do for now
}
-
- /**
- * {@inheritDoc}
- */
- @Override
- public void updateMonitorData()
- {
- // As long as getUpdateInterval() returns 0, this will never get called
- }
}
/**
--
Gitblit v1.10.0