- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for failCounts (0.04 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
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; } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0)