- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for poolId (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
return planConnectToRoute(newRouteSelection.next(), newRouteSelection.routes) } /** * Returns a plan to reuse a pooled connection, or null if the pool doesn't have a connection for * this address. * * If [planToReplace] is non-null, this will swap it for a pooled connection if that pooled * connection uses HTTP/2. That results in fewer sockets overall and thus fewer TCP slow starts. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 12K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
PooledObject<TestComponent> pooled1 = factory.wrap(component); assertNotNull(pooled1); // Test wrapping same object multiple times PooledObject<TestComponent> pooled2 = factory.wrap(component); assertNotNull(pooled2); assertNotSame(pooled1, pooled2); // Different PooledObject instances assertSame(pooled1.getObject(), pooled2.getObject()); // Same wrapped object }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
} if (componentName == null) { throw new IllegalStateException( "componentName is not set. Please specify a valid component name for the pooled object factory."); } if (logger.isDebugEnabled()) { logger.debug("Creating new pooled object for component: {}", componentName); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 6.6K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java
/** * Process a model object, potentially returning a pooled or optimized version. * * <p>This method is called during model building for various model objects. * Implementations can:</p> * <ul> * <li>Return the same object if no processing is desired</li> * <li>Return a pooled equivalent object to reduce memory usage</li>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); ForkJoinPool pool1 = new ForkJoinPool(2); ForkJoinPool pool2 = new ForkJoinPool(4); // Multiple threadPool calls should work request.threadPool(pool1); request.threadPool(pool2); assertNotNull(request); } @Test public void testOnConnectWithNull() {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
urlQueueService.insert(urlQueue); // Poll should return the item final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId); assertNotNull(polled); assertEquals("http://www.example.com/page1", polled.getUrl()); assertEquals(sessionId, polled.getSessionId()); // Second poll should return null (queue is empty)Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* your HTTP calls. This is because each client holds its own connection pool and thread pools. * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client * for each request wastes resources on idle pools. * * Use `new OkHttpClient()` to create a shared instance with the default settings: * * ```java * // The singleton HTTP client.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 51.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// If we raced another call connecting to this host, coalesce the connections. This makes for // 3 different lookups in the connection pool! val pooled3 = routePlanner.planReusePooledConnection(this, routes) if (pooled3 != null) return pooled3.connection connection.withLock { connectionPool.put(connection) call.acquireConnectionNoEvents(connection) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 19.3K bytes - Viewed (2) -
CHANGELOG.md
* New: `ConnectionPool.setPolicy()` configures a minimum connection pool size for a target address. Use this to proactively open HTTP connections. Connections opened to fulfill this policy are subject to the connection pool's `keepAliveDuration` but do not count against the pool-wide `maxIdleConnections` limit.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 05 16:02:59 UTC 2025 - 36.2K bytes - Viewed (2) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* turn, and does not create any threads of its own. * * <p>After execution begins on a thread from the {@code delegate} {@link Executor}, tasks are * polled and executed from a task queue until there are no more tasks. The thread will not be * released until there are no more tasks to run. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0)