Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for health (0.04 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        }
    
        /**
         * Set the health check interval
         * @param millis the health check interval in milliseconds
         */
        public void setHealthCheckInterval(int millis) {
            if (millis <= 0) {
                throw new IllegalArgumentException("Health check interval must be positive");
            }
            this.healthCheckInterval = millis;
            log.info("Set health check interval to {} ms", millis);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/PingResponse.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.SearchEngineUtil;
    import org.lastaflute.di.exception.IORuntimeException;
    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.cluster.health.ClusterHealthStatus;
    import org.opensearch.common.xcontent.XContentType;
    
    /**
     * Response entity for ping operations.
     */
    public class PingResponse {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.4K bytes
    - Viewed (2)
  3. src/main/java/jcifs/smb/MultiChannelManager.java

        }
    
        private void performHealthCheck() {
            log.debug("Performing multi-channel health check");
    
            for (ChannelGroup channelGroup : sessionChannels.values()) {
                for (ChannelInfo channel : channelGroup.getChannels()) {
                    try {
                        // Simplified health check - in real implementation would ping the channel
                        boolean isHealthy = checkChannelHealth(channel);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

        //
        private static final Logger logger = LogManager.getLogger(AdminMaintenanceAction.class);
    
        private static final String[] CAT_NAMES =
                { "aliases", "allocation", "count", "fielddata", "health", "indices", "master", "nodeattrs", "nodes", "pending_tasks",
                        "plugins", "recovery", "repositories", "thread_pool", "shards", "segments", "snapshots", "templates" };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.mail.send.hook.SMailCallbackContext;
    import org.lastaflute.core.mail.Postbox;
    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.cluster.health.ClusterHealthStatus;
    
    public class PingSearchEngineJobTest extends UnitFessTestCase {
    
        private PingSearchEngineJob pingSearchEngineJob;
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.monitor.jvm.JvmStats;
    import org.opensearch.monitor.jvm.JvmStats.BufferPool;
    import org.opensearch.monitor.jvm.JvmStats.Classes;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertEquals("adaptive", config.getLoadBalancingStrategy(), "Default strategy should be adaptive");
            assertEquals(10, config.getChannelHealthCheckInterval(), "Default health check interval should be 10");
        }
    
        @Test
        void testMultiChannelEnabledProperty() throws CIFSException {
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         *
         * @return load balancing strategy
         */
        String getLoadBalancingStrategy();
    
        /**
         * Channel health check interval in seconds
         *
         * Property {@code jcifs.smb.client.channelHealthCheckInterval} (int, default 10)
         *
         * @return health check interval in seconds
         */
        int getChannelHealthCheckInterval();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      } catch (_: IOException) {
        false
      }
    
    /**
     * Returns true if new reads and writes should be attempted on this.
     *
     * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
     * attempting to read with a short timeout. If the fails immediately we know the socket is
     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

         *
         * @return collection of all channels
         */
        public Collection<ChannelInfo> getChannels() {
            return channels.values();
        }
    
        /**
         * Get healthy channels only
         *
         * @return collection of healthy channels
         */
        public Collection<ChannelInfo> getHealthyChannels() {
            return channels.values()
                    .stream()
                    .filter(ChannelInfo::isHealthy)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top