Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for getCurrentTimeAsLong (0.2 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            if (crawlingInfo == null) {
                throw new FessSystemException("Crawling Session is null.");
            }
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            if (crawlingInfo.getCreatedTime() == null) {
                crawlingInfo.setCreatedTime(now);
            }
        }
    
        protected void setupDeleteCondition(final CrawlingInfo crawlingInfo) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

            final StringBuilder resultBuf = new StringBuilder();
    
            // purge crawling sessions
            try {
                crawlingInfoService.deleteBefore(systemHelper.getCurrentTimeAsLong());
            } catch (final Exception e) {
                logger.error("Failed to purge crawling sessions.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            // purge search logs
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                throw new CrawlingAccessException("CrawlerClient is null for " + url);
            }
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long startTime = systemHelper.getCurrentTimeAsLong();
            try (final ResponseData responseData = client.execute(RequestDataBuilder.newRequestData().get().url(url).build())) {
                if (responseData.getRedirectLocation() != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                }
                return permissions;
            }
    
            @Override
            public boolean refresh() {
                if (authResult.getExpiresAfter() < ComponentUtil.getSystemHelper().getCurrentTimeAsLong()) {
                    return false;
                }
                final AzureAdAuthenticator authenticator = ComponentUtil.getComponent(AzureAdAuthenticator.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

                    final Long expiredTime = accessToken.getExpiredTime();
                    if (expiredTime != null && expiredTime.longValue() > 0
                            && expiredTime.longValue() < ComponentUtil.getSystemHelper().getCurrentTimeAsLong()) {
                        throw new InvalidAccessTokenException("invalid_token",
                                "The token is expired(" + FessFunctions.formatDate(FessFunctions.date(expiredTime)) + ").");
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            }
            if (COLLECTION.equalsIgnoreCase(qName) && COLLECTIONS.equalsIgnoreCase(tagQueue.peekLast())) {
                final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                final String name = attributes.getValue("Name");
                labelType = new LabelType();
                labelType.setName(name);
                labelType.setValue(name);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

            intervalTime = Constants.DEFAULT_INTERVAL_TIME_FOR_WEB;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            permissions = fessConfig.getSearchDefaultDisplayPermission();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                final CrawlerClient client) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long startTime = systemHelper.getCurrentTimeAsLong();
            final CrawlerStatsHelper crawlerStatsHelper = ComponentUtil.getCrawlerStatsHelper();
            final StatsKeyObject keyObj = paramMap.get(Constants.CRAWLER_STATS_KEY) instanceof final StatsKeyObject sko ? sko : null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top