Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for getCurrentTimeAsLong (0.15 sec)

  1. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            if (!accessResultList.isEmpty()) {
                final long execTime = systemHelper.getCurrentTimeAsLong();
                final int size = accessResultList.size();
                dataService.update(accessResultList);
                accessResultList.clear();
                final long time = systemHelper.getCurrentTimeAsLong() - execTime;
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        public Date getCurrentTime() {
            return new Date(getCurrentTimeAsLong());
        }
    
        public long getCurrentTimeAsLong() {
            return System.currentTimeMillis();
        }
    
        public LocalDateTime getCurrentTimeAsLocalDateTime() {
            final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong());
            return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                    return new Date(now + timeToLive.longValue() * 1000 * 60);
                }
            }
            return documentExpires != null ? new Date(documentExpires) : null;
        }
    
        protected long getExpiredTime(final int days) {
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    entity.setPath(task.getValue3());
                    entity.setTarget(target);
                    entity.setCreatedBy(Constants.SYSTEM_USER);
                    entity.setCreatedTime(systemHelper.getCurrentTimeAsLong());
                    list.add(entity);
                }
            });
            taskList.clear();
            if (logger.isDebugEnabled()) {
                logger.debug("Storing {} thumbnail tasks.", list.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            if (ComponentUtil.getFessConfig().isIncrementalCrawling()) {
    
                final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
                final long startTime = systemHelper.getCurrentTimeAsLong();
    
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
                final CrawlingConfigHelper crawlingConfigHelper = ComponentUtil.getCrawlingConfigHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            }
        }
    
        public void test_isEoled() {
            assertEquals(systemHelper.getCurrentTimeAsLong() > systemHelper.eolTime, systemHelper.isEoled());
            final SystemHelper helper1 = new SystemHelper() {
                @Override
                public long getCurrentTimeAsLong() {
                    return systemHelper.eolTime + 1000L;
                }
            };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                                systemHelper.getCurrentTimeAsLong() - execTime, MemoryUtil.byteCountToDisplaySize(docList.getContentSize()),
                                MemoryUtil.getMemoryUsageLog());
                    } else {
                        logger.info("Sent {}  docs (Doc:{send {}ms}, {})", docList.size(), systemHelper.getCurrentTimeAsLong() - execTime,
                                MemoryUtil.getMemoryUsageLog());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/Crawler.java

            }
    
            final PathMappingHelper pathMappingHelper = ComponentUtil.getPathMappingHelper();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long totalTime = systemHelper.getCurrentTimeAsLong();
    
            final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
    
            try {
                writeTimeToSessionInfo(crawlingInfoHelper, Constants.CRAWLER_START_TIME);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    log(buf);
                }
            });
        }
    
        protected long getCurrentTimeMillis() {
            return ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    
        private StringBuilder createStringBuffer(final Object keyObj, final long time) {
            final StringBuilder buf = new StringBuilder(1000);
            buf.append("url:").append(getUrl(keyObj));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            final int multiprocessCrawlingCount = ComponentUtil.getFessConfig().getCrawlingThreadCount();
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long startTime = systemHelper.getCurrentTimeAsLong();
    
            final IndexUpdateCallback indexUpdateCallback = ComponentUtil.getComponent(IndexUpdateCallback.class);
    
            final List<String> sessionIdList = new ArrayList<>();
            dataCrawlingThreadList.clear();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top