Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for polo (0.02 sec)

  1. docs/smb3-features/05-rdma-smb-direct-design.md

        }
        
        public void cleanup() {
            // Clean up all pooled regions
            RdmaMemoryRegion region;
            
            while ((region = availableSendRegions.poll()) != null) {
                region.close();
                totalReleased.incrementAndGet();
            }
            
            while ((region = availableReceiveRegions.poll()) != null) {
                region.close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                log.info("Removed {} idle connections from pool", toRemoveCount);
            }
        }
    
        /**
         * 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;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertTrue(pool.contains(transport), "Transport should be in pool initially");
    
            // When: Remove the transport
            pool.removeTransport(transport);
    
            // Then: Transport should no longer be in pool
            assertFalse(pool.contains(transport), "Transport should be removed from pool");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        /**
         * Creates a new fixed thread pool executor with the specified number of threads.
         *
         * @param nThreads the number of threads in the pool
         * @return a new ThreadPoolExecutor configured for this callback
         */
        protected ExecutorService newFixedThreadPool(final int nThreads) {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialized executor thread pool: size={}", nThreads);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  6. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            // Test multiple components together
            long start = System.nanoTime();
    
            // 1. Connection Pool Test
            SmbTransportPoolImpl pool = new SmbTransportPoolImpl();
            pool.setMaxPoolSize(50);
            for (int i = 0; i < 100; i++) {
                pool.contains(null); // Should be fast without global sync
            }
    
            // 2. Buffer Cache Test
            for (int i = 0; i < 100; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

         */
        public void test_run_noUrlsInQueue() throws Exception {
            when(urlQueueService.poll(anyString())).thenReturn(null);
            crawlerContext.setStatus(CrawlerStatus.RUNNING);
            crawlerContext.maxThreadCheckCount = 1; // Will exit after 1 check
    
            crawlerThread.run();
    
            verify(urlQueueService, times(1)).poll(anyString());
        }
    
        /**
         * Test run method with crawler status DONE.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

         */
        @Override
        public OpenSearchUrlQueue poll(final String sessionId) {
            final QueueHolder queueHolder = getQueueHolder(sessionId);
            final Queue<OpenSearchUrlQueue> waitingQueue = queueHolder.waitingQueue;
            final Queue<OpenSearchUrlQueue> crawlingQueue = queueHolder.crawlingQueue;
    
            OpenSearchUrlQueue urlQueue = waitingQueue.poll();
            if (urlQueue == null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 16.9K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/curl/CurlRequest.java

                throw new CurlException("Invalid encoding: " + encoding, e);
            }
        }
    
        /**
         * Sets the thread pool for executing the request.
         *
         * @param threadPool the thread pool
         * @return this CurlRequest instance
         */
        public CurlRequest threadPool(final ForkJoinPool threadPool) {
            this.threadPool = threadPool;
            return this;
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTransportPoolTest.java

                verify(transportPool).removeTransport(transport2);
            }
        }
    
        @Nested
        @DisplayName("Pool Lifecycle")
        class PoolLifecycleTests {
    
            @Test
            @DisplayName("Should close pool successfully with no active transports")
            void testClosePoolNoActiveTransports() throws CIFSException {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top