- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for expiry (0.03 sec)
-
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) -
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) -
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) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/job/PurgeDocJob.java
import org.codelibs.fess.util.ComponentUtil; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; /** * Job for purging expired documents from the search index. * This job removes documents that have passed their expiration time based on the expires field. * It helps maintain the search index by cleaning up outdated content automatically. */ public class PurgeDocJob {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.5K bytes - Viewed (0) -
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)