- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for unhealthy (0.13 sec)
-
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
transport.disconnect(true, true); } catch (Exception e) { log.debug("Error disconnecting unhealthy transport: {}", e.getMessage()); } } if (!unhealthy.isEmpty()) { log.info("Removed {} unhealthy connections from pool", unhealthy.size()); } // Perform maintenance tasks performMaintenanceTasks(); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
public void decrementConnections() { activeConnections.decrementAndGet(); } public boolean isHealthy() { return isHealthy; } public void setHealthy(boolean healthy) { this.isHealthy = healthy; this.lastHealthCheck = System.currentTimeMillis(); } public long getLastHealthCheck() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
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) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
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) -
docs/smb3-features/03-multi-channel-design.md
this.lastActivityTime = System.currentTimeMillis(); } public long getIdleTime() { return System.currentTimeMillis() - lastActivityTime; } public boolean isHealthy() { return state == ChannelState.ACTIVE || state == ChannelState.ESTABLISHED; } public double getErrorRate() { long total = requestsSent.get(); if (total == 0) return 0.0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
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)