From b05ed82c390ac4d8ac800597ba37ffb5e1f39f1b Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Sat, 14 Jul 2007 20:56:31 +0000
Subject: [PATCH] - [Issue 1771] entry cache implementations should flush entries when backends go offline: this fix makes entry cache registered with backend initialization listener and clears related entries when their backend about to go offline.
---
opends/src/server/org/opends/server/core/DirectoryServer.java | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index 6b4aaf3..5ba5159 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -8587,6 +8587,19 @@
}
+
+ /**
+ * Indicates whether the server is currently in the process of shutting down.
+ * @return <CODE>true</CODE> if this server is currently in the process of
+ * shutting down and <CODE>false</CODE> otherwise.
+ */
+ public boolean isShuttingDown()
+ {
+ return shuttingDown;
+ }
+
+
+
/**
* Parses the provided command-line arguments and uses that information to
* bootstrap and start the Directory Server.
--
Gitblit v1.10.0