- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for polo (0.02 sec)
-
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) -
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) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
} /** * Sets the thread pool. * @param threadPool The thread pool. * @return This builder instance. */ public SuggesterBuilder threadPool(final ExecutorService threadPool) { this.threadPool = threadPool; return this; } /** * Sets the thread pool size. * @param threadPoolSize The thread pool size. * @return This builder instance.Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.2K bytes - Viewed (0) -
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) -
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) -
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) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
* * @return an encryption cipher */ protected Cipher pollEncryptoCipher() { Cipher cipher = encryptoQueue.poll(); if (cipher == null) { try { final SecretKeySpec sksSpec = new SecretKeySpec(key.getBytes(charsetName), algorithm); cipher = Cipher.getInstance(algorithm);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
* <li>{@link #analyzer} - Suggest analyzer. * <li>{@link #contentsParser} - Contents parser. * <li>{@link #suggestWriter} - Suggest writer. * <li>{@link #threadPool} - Executor service for thread pool. * </ul> */ public class SuggestIndexer { private final static Logger logger = LogManager.getLogger(SuggestIndexer.class); /** The suggest analyzer. */ protected SuggestAnalyzer analyzer;
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 34.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.pool; import org.apache.commons.pool2.BasePooledObjectFactory; import org.apache.commons.pool2.PooledObject; import org.apache.commons.pool2.impl.DefaultPooledObject; import org.apache.logging.log4j.LogManager;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
} @Override public void offerAll(String sessionId, List<UrlQueue<?>> newUrlQueueList) { } @Override public UrlQueue<?> poll(String sessionId) { return null; } @Override public void saveSession(String sessionId) { } @OverrideRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0)