- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setMaxPoolSize (2.5 sec)
-
src/test/java/jcifs/smb/CriticalPerformanceTest.java
*/ @Test public void testConnectionPoolConcurrentPerformance() throws Exception { SmbTransportPoolImpl pool = new SmbTransportPoolImpl(); pool.setMaxPoolSize(100); int threadCount = 20; int operationsPerThread = 100; ExecutorService executor = Executors.newFixedThreadPool(threadCount); CountDownLatch startLatch = new CountDownLatch(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} } /** * Set the maximum pool size * @param size the maximum number of connections in the pool */ public void setMaxPoolSize(int size) { if (size <= 0) { throw new IllegalArgumentException("Pool size must be positive"); } this.maxPoolSize = size; log.info("Set maximum pool size to {}", size);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0)