Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for getUptime (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

        public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) {
            getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> {
                if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) {
                    throw new DictionaryException(dictFile.getPath() + " was updated.");
                }
    
                // TODO use stream
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
                final long currentTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); // milliseconds since epoch
                if (tokenExpiryTime < currentTime) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            return new IntervalControlHelper() {
                @Override
                protected Calendar getCurrentCal() {
                    final Calendar cal = Calendar.getInstance();
                    cal.setTimeInMillis(date.getTime());
                    cal.set(Calendar.DAY_OF_WEEK, day);
                    return cal;
                }
            };
        }
    
        @Test
        public void test_checkCrawlerStatus() throws InterruptedException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            Date expires = crawlingInfoHelper.getDocumentExpires(null);
            assertNotNull(expires); // Returns documentExpires when config is null
            assertEquals(currentTime + 1000, expires.getTime());
    
            // Test when documentExpires is set but config is provided (but config has no timeToLive)
            crawlingInfoHelper.documentExpires = currentTime + 5000;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                            crawlingInfo = new CrawlingInfo();
                            crawlingInfo.setSessionId(list.get(0));
                            crawlingInfo.setCreatedTime(formatter.parse(list.get(1)).getTime());
                            crawlingInfoBhv.insert(crawlingInfo, op -> op.setRefreshPolicy(Constants.TRUE));
                        }
    
                        final CrawlingInfoParam entity = new CrawlingInfoParam();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                return null;
            }
    
            try {
                if (PDF_DATE.equals(format)) {
                    final Calendar cal = DateConverter.toCalendar(value);
                    return cal != null ? cal.getTime() : null;
                }
    
                final long time = Joda.forPattern(format).parseMillis(value);
                return new Date(time);
            } catch (final Exception e) {
                return null;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final Date currentTime = systemHelper.getCurrentTime();
            assertNotNull(currentTime);
            final long now = System.currentTimeMillis();
            assertTrue(Math.abs(currentTime.getTime() - now) < 1000);
        }
    
        @Test
        public void test_getCurrentTimeAsLong() {
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            final long now = System.currentTimeMillis();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
Back to Top