Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for getCurrentTimeAsLong (0.16 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/app/service/JobLogService.java

            // search
    
        }
    
        public void deleteBefore(final int days) {
            final long oneday = 24 * 60 * 60 * 1000L;
            final long targetTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - days * oneday;
            jobLogBhv.queryDelete(cb -> {
                cb.query().setEndTime_LessThan(targetTime);
            });
        }
    
        public void deleteByJobStatus(final List<String> jobStatusList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

        protected Class<? extends LaJob> jobClass = ScriptExecutorJob.class;
    
        protected long schedulerTime;
    
        @Override
        public void schedule(final LaCron cron) {
            schedulerTime = systemHelper.getCurrentTimeAsLong();
            scheduledJobService.start(cron);
    
            final String myName = fessConfig.getSchedulerTargetName();
            if (StringUtil.isNotBlank(myName)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/JobLog.java

            setScriptType(scheduledJob.getScriptType());
            setScriptData(scheduledJob.getScriptData());
            setStartTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            setLastUpdated(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            setJobStatus(Constants.RUNNING);
            final String myName = ComponentUtil.getFessConfig().getSchedulerTargetName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

        public Long createdTime;
    
        public void initialize() {
            boost = 100.0f;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            permissions = ComponentUtil.getFessConfig().getSearchDefaultDisplayPermission();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

        public Long createdTime;
    
        public void initialize() {
            crudMode = CrudMode.CREATE;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java

        public void initialize() {
            crudMode = CrudMode.CREATE;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java

        public void initialize() {
            crudMode = CrudMode.CREATE;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top