Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for expiry (0.04 sec)

  1. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        }
    
        // Test method chaining with multiple expiry calls
        public void test_expiryChaining() {
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(1000L)
                    .expiry(2000L)
                    .expiry(0) // Should not change
                    .expiry(3000L);
    
            assertSame(purgeThumbnailJob, result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

         * Purges old thumbnail files based on the expiry time.
         *
         * @param expiry the expiry time threshold
         * @return the number of files purged
         */
        public long purge(final long expiry) {
            if (!baseDir.exists()) {
                return 0;
            }
            try {
                final FilePurgeVisitor visitor = new FilePurgeVisitor(baseDir.toPath(), imageExtention, expiry);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            // we'll test through the purge method
            ThumbnailManager testManager = new ThumbnailManager() {
                @Override
                public long purge(long expiry) {
                    baseDir = tempDir;
                    // Count expired files
                    int count = 0;
                    File[] dirs = baseDir.listFiles();
                    if (dirs != null) {
                        for (File dir : dirs) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

         */
        public void setAcquisitionTimeout(final long acquisitionTimeout) {
            this.acquisitionTimeout = acquisitionTimeout;
        }
    
        /**
         * Sets the group cache expiry time.
         * @param groupCacheExpiry The cache expiry time in seconds.
         */
        public void setGroupCacheExpiry(final long groupCacheExpiry) {
            this.groupCacheExpiry = groupCacheExpiry;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Simulate time passing (more than 60 seconds)
            testFactory.lastLoadedTime = System.currentTimeMillis() - 61000L;
    
            // Should reload after cache expiry
            names = testFactory.getDataStoreNames();
            assertEquals(2, names.length);
            assertEquals(2, loadCount[0]); // Should increment
        }
    
        // Test loadDataStoreNameList with valid XML
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

            public String propertiesPath;
    
            /** Number of days after which documents should expire and be cleaned up. */
            @Option(name = "-e", aliases = "--expires", metaVar = "expires", usage = "Expires for documents")
            public String expires;
    
            /** Interval in milliseconds for hot thread monitoring and logging. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            } else {
                crawlingInfo.setName(Constants.CRAWLING_INFO_SYSTEM_NAME);
            }
            if (dayForCleanup >= 0) {
                final long expires = getExpiredTime(dayForCleanup);
                crawlingInfo.setExpiredTime(expires);
                documentExpires = expires;
            }
            try {
                getCrawlingInfoService().store(crawlingInfo);
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

        /**
         * The token parameter.
         */
        public static final String TOKEN = "token";
    
        /**
         * The expires parameter.
         */
        public static final String EXPIRES = "expires";
    
        /**
         * The expired time parameter.
         */
        public static final String EXPIRED_TIME = "expiredTime";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            assertNull(path);
    
            Integer expire = provider.provideDefaultExpire();
            assertNull(expire);
        }
    
        // Test with different expire values
        public void test_differentExpireValues() {
            int[] testExpires = { 0, 1, 60, 3600, 86400, Integer.MAX_VALUE };
    
            for (int expire : testExpires) {
                ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        return true;
                    }
    
                    final Date expires = DocumentUtil.getValue(document, fessConfig.getIndexFieldExpires(), Date.class);
                    if (expires != null && expires.getTime() < systemHelper.getCurrentTimeAsLong()) {
                        final Object idValue = document.get(fessConfig.getIndexFieldId());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top