- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for evictAllConnections (0.11 sec)
-
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
setPolicy(pool, address, ConnectionPool.AddressPolicy(2)) assertThat(pool.connectionCount()).isEqualTo(2) // Connections are replaced if they idle out or are evicted from the pool evictAllConnections(pool) assertThat(pool.connectionCount()).isEqualTo(2) forceConnectionsToExpire(pool, expireTime) assertThat(pool.connectionCount()).isEqualTo(2)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jun 22 16:06:35 UTC 2024 - 12.8K bytes - Viewed (0)