From 1edd5068bf0b63cbd67c615942ad5c545440d476 Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Tue, 24 Nov 2009 15:14:33 +0000
Subject: [PATCH] - upgrade to BDB JE 4 [ 4.0.73 ]
---
opends/src/server/org/opends/server/backends/jeb/RootContainer.java | 26 ++++++++++----------------
1 files changed, 10 insertions(+), 16 deletions(-)
diff --git a/opends/src/server/org/opends/server/backends/jeb/RootContainer.java b/opends/src/server/org/opends/server/backends/jeb/RootContainer.java
index 3d2e316..219c6c7 100644
--- a/opends/src/server/org/opends/server/backends/jeb/RootContainer.java
+++ b/opends/src/server/org/opends/server/backends/jeb/RootContainer.java
@@ -637,22 +637,6 @@
}
/**
- * Get the environment lock stats of the JE environment used in this
- * root container.
- *
- * @param statsConfig The configuration to use for the EnvironmentStats
- * object.
- * @return The environment status of the JE environment.
- * @throws DatabaseException If an error occurs while retriving the stats
- * object.
- */
- public LockStats getEnvironmentLockStats(StatsConfig statsConfig)
- throws DatabaseException
- {
- return env.getLockStats(statsConfig);
- }
-
- /**
* Get the environment transaction stats of the JE environment used
* in this root container.
*
@@ -1060,4 +1044,14 @@
}
return totalCleaned;
}
+
+ /**
+ * Returns whether this container JE database environment is
+ * open, valid and can be used.
+ *
+ * @return {@code true} if valid, or {@code false} otherwise.
+ */
+ public boolean isValid() {
+ return env.isValid();
+ }
}
--
Gitblit v1.10.0