- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FailoverState (0.18 sec)
-
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Mark channel as failed failedChannel.setState(ChannelState.FAILED); // Get or create failover state FailoverState state = failoverStates.computeIfAbsent(failedChannel.getChannelId(), FailoverState::new); // Redistribute pending operations redistributePendingOperations(failedChannel); // Check if recovery is viable by testing if createTransport works
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
verify(mockChannelManager).removeChannel(failedChannel); } @Test void testFailoverStateCreation() { ChannelFailover.FailoverState state = new ChannelFailover.FailoverState("test-channel"); assertEquals("test-channel", state.getChannelId()); assertEquals(0, state.getRetryCount()); assertTrue(state.shouldRetry());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
private final ExecutorService executor; private final Map<String, FailoverState> failoverStates; public ChannelFailover(ChannelManager manager) { this.manager = manager; this.executor = Executors.newCachedThreadPool(); this.failoverStates = new ConcurrentHashMap<>(); } public static class FailoverState { private final String channelId;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0)