Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getCurrentTimeAsLong (0.12 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/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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

                return entity;
            });
    
            failureUrl.setErrorName(errorName);
            failureUrl.setErrorLog(getStackTrace(e));
            failureUrl.setLastAccessTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            failureUrl.setThreadName(Thread.currentThread().getName());
    
            bhv.insertOrUpdate(failureUrl, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
            return failureUrl;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 24 01:20:42 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                }
            }
            return 0;
        }
    
        protected Calendar getCurrentCal() {
            final Calendar cal = Calendar.getInstance();
            cal.setTimeInMillis(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            return cal;
        }
    
        public void addIntervalRule(final String from, final String to, final String days, final long delay) {
            ruleList.add(new IntervalRule(from, to, days, delay));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                final OptionalThing<FessUserBean> userBean) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long startTime = systemHelper.getCurrentTimeAsLong();
            final long requestedTime = startTime;
    
            final SearchRequestParams params = rewrite(searchRequestParams);
    
            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            ComponentUtil.getFessConfig();
            final ProtocolHelper protocolHelper = ComponentUtil.getProtocolHelper();
    
            final long startTime = systemHelper.getCurrentTimeAsLong();
    
            final List<String> sessionIdList = new ArrayList<>();
            crawlerList.clear();
            final List<String> crawlerStatusList = new ArrayList<>();
            // Web
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            }
            if (baseDir == null) {
                baseDir = new File(System.getProperty("java.io.tmpdir"));
            }
            destoryTimer = new Timer("CommandGeneratorDestoryTimer-" + ComponentUtil.getSystemHelper().getCurrentTimeAsLong(), true);
            updateProperties();
        }
    
        protected void updateProperties() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top