Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for failCounts (0.04 sec)

  1. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            Field failCountsField = SmbTransportPoolImpl.class.getDeclaredField("failCounts");
            failCountsField.setAccessible(true);
            @SuppressWarnings("unchecked")
            Map<String, Integer> failCounts = (Map<String, Integer>) failCountsField.get(pool);
    
            // When: Add fail counts
            failCounts.put("192.168.1.1", 3);
            failCounts.put("192.168.1.2", 1);
    
            // Then: Should be accessible
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    final String hostAddress = addr.getHostAddress();
                    final Integer failCount = this.failCounts.get(hostAddress);
                    if (failCount == null) {
                        this.failCounts.put(hostAddress, 1);
                    } else {
                        this.failCounts.put(hostAddress, failCount + 1);
                    }
                    ex = e;
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top