- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newFixedThreadPool (0.09 sec)
-
FileListIndexUpdateCallbackImpl.java
this.crawlerClientFactory = crawlerClientFactory; L84: executor = newFixedThreadPool(nThreads < 1 ? 1 : nThreads); L85: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L86: maxDeleteDocumentCacheSize = fessConfig.getIndexerDataMaxDeleteCacheSizeAsInteger(); L87: maxRedirectCount = fessConfig.getIndexerDataMaxRedirectCountAsInteger(); L88: } L89: L90: protected ExecutorService newFixedThreadPool(final int nThreads) { L91: if (logger.isDebugEnabled()) {...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 16.8K bytes -
ThumbnailGenerator.java
L190: logger.warn("Failed to create system properties file.", e); L191: } L192: } L193: L194: int totalCount = 0; L195: int count = 1; L196: final ExecutorService executorService = Executors.newFixedThreadPool(options.numOfThreads); L197: try { L198: while (count != 0) { L199: count = ComponentUtil.getThumbnailManager().generate(executorService, options.cleanup); L200: totalCount += count; L201: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 8.2K bytes -
RankFusionProcessor.java
tRankFusionThreadsAsInteger(); L466: if (numThreads <= 0) { L467: numThreads = Runtime.getRuntime().availableProcessors() * 3 / 2 + 1; L468: } L469: executorService = Executors.newFixedThreadPool(numThreads); L470: } L471: } L472: } L473:}...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 18.3K bytes -
AzureAdAuthenticator.java
if (logger.isDebugEnabled()) { L253: logger.debug("refreshToken: {}, authority: {}", refreshToken, authority); L254: } L255: ExecutorService service = null; L256: try { L257: service = Executors.newFixedThreadPool(1); L258: final AuthenticationContext context = new AuthenticationContext(authority, true, service); L259: final Future<AuthenticationResult> future = L260: context.acquireTokenByRefreshToken(refreshToken,...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 28.2K bytes