Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 103 for getSystemHelper (0.13 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/badword/CreateForm.java

        @Size(max = 1000)
        public String createdBy;
    
        @ValidateTypeFailure
        public Long createdTime;
    
        public void initialize() {
            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.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            validate(form, messages -> {}, this::asListHtml);
            verifyToken(this::asListHtml);
            final String fileName = form.bulkFile.getFileName();
            final File tempFile = ComponentUtil.getSystemHelper().createTempFile("fess_restore_", ".tmp");
            try (final InputStream in = form.bulkFile.getInputStream(); final OutputStream out = new FileOutputStream(tempFile)) {
                CopyUtil.copy(in, out);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                    final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                    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/app/web/admin/webconfig/CreateForm.java

            numOfThread = Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB;
            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)
  5. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

            this.delayMillisForWaitingNewUrl = delayMillisForWaitingNewUrl;
        }
    
        @Override
        protected void delayForWaitingNewUrl() {
            ComponentUtil.getSystemHelper().calibrateCpuLoad();
            try {
                final IntervalControlHelper intervalControlHelper = ComponentUtil.getIntervalControlHelper();
                intervalControlHelper.checkCrawlerStatus();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

            } else {
                try (final CurlResponse response = curlRequest.body(buf.toString()).execute()) {
                    final File tempFile = ComponentUtil.getSystemHelper().createTempFile("esreq_", ".json");
                    try (final InputStream in = response.getContentAsStream()) {
                        CopyUtil.copy(in, tempFile);
                    } catch (final Exception e1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            final PingResponse ping = searchEngineClient.ping();
            final int status = ping.getStatus();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (StringUtil.isNotBlank(options.propertiesPath)) {
                systemProperties.reload(options.propertiesPath);
            } else {
                try {
                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("crawler_", ".properties");
                    if (propFile.delete() && logger.isDebugEnabled()) {
                        logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath());
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        }
    
        protected void storeQueue(final List<Tuple3<String, String, String>> taskList) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String[] targets = fessConfig.getThumbnailGeneratorTargetsAsArray();
            final List<ThumbnailQueue> list = new ArrayList<>();
            taskList.stream().filter(entity -> entity != null).forEach(task -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top