- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for PING (0.05 sec)
-
src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java
resultBuf.append("Status of ") .append(ping.getClusterName()) .append(" is changed to ") .append(ping.getClusterStatus()) .append('.'); } else if (status == 0) { resultBuf.append(ping.getClusterName()).append(" is alive."); } else { resultBuf.append(ping.getClusterName()).append(" is not available."); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
assertEquals("Status of production-cluster is changed to GREEN.", result); } // Test with exception during ping public void test_execute_pingException() { SearchEngineClient searchEngineClient = new SearchEngineClient() { @Override public PingResponse ping() { throw new RuntimeException("Connection failed"); } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
final PingResponse pingResponse = searchEngineClient.ping(); writeJsonResponse(pingResponse.getStatus() == 0 ? HttpServletResponse.SC_OK : HttpServletResponse.SC_SERVICE_UNAVAILABLE, "\"data\":" + pingResponse.getMessage()); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to process a ping request.", e); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
}); } /** * Pings the search engine cluster to check connectivity and health. * * @return the ping response with cluster information * @throws SearchEngineClientException if the ping fails */ public PingResponse ping() { try { final ClusterHealthResponse response =
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0)