File tree Expand file tree Collapse file tree
src/main/java/com/iemr/inventory/service/health Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,6 +178,11 @@ private HealthCheckResult checkRedisHealthSync() {
178178 }
179179 }
180180
181+ /**
182+ * Deprecated: kept for backward compatibility, use synchronous versions instead.
183+ *
184+ * @deprecated Use {@link #checkMySQLHealthSync()} instead.
185+ */
181186 @ Deprecated (since = "3.6.0" , forRemoval = true )
182187 private HealthCheckResult checkMySQLHealth () {
183188 CompletableFuture <HealthCheckResult > future = CompletableFuture .supplyAsync (
@@ -199,6 +204,11 @@ private HealthCheckResult checkMySQLHealth() {
199204 }
200205 }
201206
207+ /**
208+ * Deprecated: kept for backward compatibility, use synchronous versions instead.
209+ *
210+ * @deprecated Use {@link #checkRedisHealthSync()} instead.
211+ */
202212 @ Deprecated (since = "3.6.0" , forRemoval = true )
203213 private HealthCheckResult checkRedisHealth () {
204214 CompletableFuture <HealthCheckResult > future = CompletableFuture .supplyAsync (
You can’t perform that action at this time.
0 commit comments