- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getThumbnailManager (0.11 sec)
-
src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java
private long expiry = 30 * 24 * 60 * 60 * 1000L; public String execute() { try { final long count = ComponentUtil.getThumbnailManager().purge(getExpiry()); return "Deleted " + count + " thumbnail files."; } catch (final Exception e) { logger.error("Failed to purge thumbnails.", e); return e.getMessage();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
} return newDoc; }).toList(); if (fessConfig.isThumbnailCrawlerEnabled()) { final ThumbnailManager thumbnailManager = ComponentUtil.getThumbnailManager(); final String thumbnailField = fessConfig.getIndexFieldThumbnail(); docList.stream().forEach(doc -> { if (!thumbnailManager.offer(doc)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
int count = 1; final ExecutorService executorService = Executors.newFixedThreadPool(options.numOfThreads); try { while (count != 0) { count = ComponentUtil.getThumbnailManager().generate(executorService, options.cleanup); totalCount += count; } executorService.shutdown(); executorService.awaitTermination(60, TimeUnit.SECONDS);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
protected String name; protected int maxRedirectCount = 10; protected Boolean available = null; public void register() { ComponentUtil.getThumbnailManager().add(this); } public void addCondition(final String key, final String regex) { final String value = conditionMap.get(key); if (StringUtil.isBlank(value)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
} try { if (fessConfig.isThumbnailCrawlerEnabled()) { final ThumbnailManager thumbnailManager = ComponentUtil.getThumbnailManager(); final String thumbnailField = fessConfig.getIndexFieldThumbnail(); docList.stream().forEach(doc -> { if (!thumbnailManager.offer(doc)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
cmdList.add("-Dpdfbox.fontcache=" + ownTmpDir.getAbsolutePath()); } else { ownTmpDir = null; } } cmdList.add(ComponentUtil.getThumbnailManager().getThumbnailPathOption()); if (!jvmOptions.isEmpty()) { jvmOptions.stream().filter(StringUtil::isNotBlank).forEach(cmdList::add); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jun 23 04:13:47 UTC 2024 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
return getComponent(PERMISSION_HELPER); } public static SsoManager getSsoManager() { return getComponent(SSO_MANAGER); } public static ThumbnailManager getThumbnailManager() { return getComponent(THUMBNAIL_MANAGER); } public static AuthenticationManager getAuthenticationManager() { return getComponent(AUTHENTICATION_MANAGER); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:35:51 UTC 2024 - 20.2K bytes - Viewed (0)