Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Healthy (0.12 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         */
        public long getIdleTime() {
            return System.currentTimeMillis() - lastActivityTime;
        }
    
        /**
         * Check if channel is in healthy state
         *
         * @return true if healthy
         */
        public boolean isHealthy() {
            return state == ChannelState.ACTIVE || state == ChannelState.ESTABLISHED;
        }
    
        /**
         * Get channel binding hash
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

                activeConnections.decrementAndGet();
            }
    
            public boolean isHealthy() {
                return isHealthy;
            }
    
            public void setHealthy(boolean healthy) {
                this.isHealthy = healthy;
                this.lastHealthCheck = System.currentTimeMillis();
            }
    
            public long getLastHealthCheck() {
                return lastHealthCheck;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            List<CommonServerMessageBlock> operationsCopy = List.copyOf(pendingOps);
    
            // Clear the failed channel's pending operations first
            failedChannel.clearPendingOperations();
    
            // Redistribute to healthy channels
            for (CommonServerMessageBlock op : operationsCopy) {
                try {
                    ChannelInfo alternativeChannel = manager.getLoadBalancer().selectChannel(op);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

            Collection<ChannelInfo> availableChannels = manager.getHealthyChannels();
            
            if (availableChannels.isEmpty()) {
                throw new NoAvailableChannelException("No healthy channels available");
            }
            
            if (availableChannels.size() == 1) {
                return availableChannels.iterator().next();
            }
            
            switch (strategy) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

    import org.opensearch.OpenSearchException;
    import org.opensearch.action.ActionRequest;
    import org.opensearch.action.ActionType;
    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.action.admin.indices.segments.IndicesSegmentResponse;
    import org.opensearch.action.admin.indices.segments.PitSegmentsRequest;
    import org.opensearch.action.bulk.BulkRequest;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

    import org.codelibs.fess.crawler.client.FesenClient.OnConnectListener;
    import org.junit.Before;
    import org.junit.Test;
    import org.mockito.MockedStatic;
    import org.mockito.Mockito;
    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.bulk.BulkResponse;
    import org.opensearch.action.delete.DeleteRequestBuilder;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top