From 8b806159078ce1308b27e676c0e8a6340f05e6e0 Mon Sep 17 00:00:00 2001
From: Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Date: Mon, 02 Mar 2015 10:59:04 +0000
Subject: [PATCH] OPENDJ-1826 CR-6180 BackendImpl current DiskSpaceMonitoring should be done entirely at the Storage layer
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/Storage.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/Storage.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/Storage.java
index 004b604..084fe89 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/Storage.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/Storage.java
@@ -100,13 +100,6 @@
void closeTree(TreeName treeName);
/**
- * Returns whether the storage engine is in a valid state, i.e. whether it can be used for processing.
- *
- * @return {@code true} if the storage engine is in a valid state, {@code false} otherwise
- */
- boolean isValid();
-
- /**
* Returns a filename filter which selects the files to be included in a backup.
* @return a filename filter which selects the files to be included in a backup
*/
@@ -122,4 +115,11 @@
* @throws StorageRuntimeException if removal fails
*/
void removeStorageFiles() throws StorageRuntimeException;
+
+ /**
+ * Returns the current status of the storage.
+ *
+ * @return the current status of the storage
+ */
+ StorageStatus getStorageStatus();
}
--
Gitblit v1.10.0