We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c41fd0b + 21e7e33 commit a5122a4Copy full SHA for a5122a4
2 files changed
debug-db/src/main/java/com/amitshekhar/DebugDB.java
@@ -68,5 +68,9 @@ public static void shutDown() {
68
clientServer = null;
69
}
70
71
+
72
+ public static boolean isServerRunning() {
73
+ return clientServer != null && clientServer.isRunning();
74
+ }
75
76
debug-db/src/main/java/com/amitshekhar/server/ClientServer.java
@@ -84,5 +84,7 @@ public void run() {
84
85
86
87
-
+ public boolean isRunning() {
88
+ return mIsRunning;
89
90
0 commit comments