- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 255 for Connections (1.43 sec)
-
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
int currentSize = this.connections.size(); if (currentSize >= maxPoolSize) { // Try to remove idle connections removeIdleConnections(); // If still at limit, throw exception if (this.connections.size() >= maxPoolSize) { throw new IllegalStateException("Connection pool has reached maximum size of " + maxPoolSize
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcConnectionMonitorTarget.java
* idleConnectionTimeout the timeout duration (in milliseconds) for idle connections * * <p>Methods:</p> * <ul> * <li>{@link #expired()}: Handles the expiration of connections by closing expired and idle connections.</li> * </ul> * * <p>Logging:</p> * <ul> * <li>Logs a warning if the clientConnectionManager is null.</li> * <li>Logs a warning if an exception occurs during connection monitoring.</li>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
assertTrue(pool.contains(pooled), "Pooled connection should be tracked"); assertFalse(pool.contains(nonPooled), "Non-pooled connection should not be tracked"); } @Test @DisplayName("Should create new connections when reuse conditions are not met") void testNoConnectionReuse() throws Exception { // Given: Create a new pool for this test to ensure isolation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
// which can satisfy a larger policy val connection = routePlanner.plans.first().connection val http2Connection = connectHttp2(peer, connection, 5) setPolicy(pool, address, AddressPolicy(5)) assertThat(pool.connectionCount()).isEqualTo(1) // Decrease the connection's max so that another connection is needed updateMaxConcurrentStreams(http2Connection, 4)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
import okhttp3.internal.isHealthy import okhttp3.internal.tls.OkHostnameVerifier import okio.Buffer /** * A connection to a remote web server capable of carrying 1 or more concurrent streams. * * Connections are shared in a connection pool. Accesses to the connection's state must be guarded * by holding a lock on the connection. */ class RealConnection internal constructor( val taskRunner: TaskRunner,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
private final List<HttpURLConnection> connections = new ArrayList<>(); private int currentIndex = 0; void addConnection(HttpURLConnection conn) { connections.add(conn); } @Override protected URLConnection openConnection(URL u) throws IOException { if (currentIndex < connections.size()) { return connections.get(currentIndex++);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
Arguments.of(WinError.ERROR_ACCESS_DENIED, "Access is denied."), Arguments.of(WinError.ERROR_REQ_NOT_ACCEP, "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."), Arguments.of(WinError.ERROR_BAD_PIPE, "The pipe state is invalid."),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
* <li>DEFAULT_MAX_CONNECTION_PER_ROUTE_PROPERTY: Default maximum connections per route.</li> * <li>MAX_TOTAL_CONNECTION_PROPERTY: Maximum total connections.</li> * <li>TIME_TO_LIVE_TIME_UNIT_PROPERTY: Time to live unit for connections.</li> * <li>TIME_TO_LIVE_PROPERTY: Time to live for connections.</li> * </ul> * */ public class HcHttpClient extends AbstractCrawlerClient { /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 52.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/WinError.java
/** Array of Windows error messages corresponding to WINERR_CODES */ String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.", "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.", "The pipe state is invalid.", "All pipe instances are busy.", "The pipe is being closed.",
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/WinError.java
/** Array of Windows error messages corresponding to WINERR_CODES */ String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.", "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.", "The pipe state is invalid.", "All pipe instances are busy.", "The pipe is being closed.",
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0)