Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for expiry (1.21 sec)

  1. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

        public long getExpiry() {
            return expiry;
        }
    
        /**
         * Sets the expiration time for thumbnails.
         *
         * @param expiry the expiration time in milliseconds (must be positive)
         * @return this PurgeThumbnailJob instance for method chaining
         */
        public PurgeThumbnailJob expiry(final long expiry) {
            if (expiry > 0) {
                this.expiry = expiry;
            }
            return this;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/resources/fess_indices/fess_config.scheduled_job/scheduled_job.bulk

    {"index":{"_index":"fess_config.scheduled_job","_id":"thumbnail_purger"}}
    {"name":"Thumbnail Purger","target":"all","cronExpression":"0 0 * * *","scriptType":"groovy","scriptData":"return container.getComponent(\"purgeThumbnailJob\").expiry(30 * 24 * 60 * 60 * 1000L).execute();","jobLogging":true,"crawler":false,"available":true,"sortOrder":7,"createdBy":"system","createdTime":0,"updatedBy":"system","updatedTime":0}
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Nov 07 06:19:20 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            });
        }
    
        /**
         * Updates the status of expired jobs that haven't finished.
         * Jobs that have been running longer than the expired job interval
         * without an end time are marked as failed.
         */
        public void updateStatus() {
            final long expiry = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - expiredJobInterval;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. CHANGELOG/CHANGELOG-1.18.md

    - Added two client certificate metrics for exec auth:
        - `rest_client_certificate_expiration_seconds` a gauge reporting the lifetime of the current client certificate. Reports the time of expiry in seconds since January 1, 1970 UTC.
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // get saves 1, 3; 0, 2, 4 expire
        getAll(cache, asList(1, 3));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(5, 6, 7, 8, 9, 1, 3);
    
        // get saves 6, 8; 5, 7, 9 expire
        getAll(cache, asList(6, 8));
        CacheTesting.drainRecencyQueues(cache);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top