- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for Expiry (0.04 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CookieConfig.java
this.path = path; } /** * Gets the cookie expiry date. * * @return the expiry date */ public Date getExpiryDate() { return expiryDate; } /** * Sets the cookie expiry date. * * @param expiryDate the expiry date */ public void setExpiryDate(final Date expiryDate) {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 08 14:22:26 GMT 2026 - 3.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
} // Test method chaining with multiple expiry calls @Test public void test_expiryChaining() { PurgeThumbnailJob result = purgeThumbnailJob.expiry(1000L) .expiry(2000L) .expiry(0) // Should not change .expiry(3000L); assertSame(purgeThumbnailJob, result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (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);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K bytes - Click Count (0) -
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}Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
// Override purge to avoid client operations ThumbnailManager testManager = new ThumbnailManager() { @Override public long purge(long expiry) { // Just count files that would be deleted return 1L; } }; testManager.baseDir = tempDir; long result = testManager.purge(1L);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (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 XMLCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.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; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:03:27 GMT 2026 - 56.8K bytes - Click Count (0) -
internal/lru/lru.go
} } // deleteExpired deletes expired records from the oldest bucket, waiting for the newest entry // in it to expire first. func (c *LRU[K, V]) deleteExpired() { c.mu.Lock() bucketIdx := c.nextCleanupBucket timeToExpire := time.Until(c.buckets[bucketIdx].newestEntry) // wait for newest entry to expire before cleanup without holding lock if timeToExpire > 0 { c.mu.Unlock() time.Sleep(timeToExpire) c.mu.Lock()
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 12.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java
assertTrue(true); } @Test public void test_setGroupCacheExpiry() { EntraIdAuthenticator authenticator = new EntraIdAuthenticator(); // Test setting different cache expiry values authenticator.setGroupCacheExpiry(300L); authenticator.setGroupCacheExpiry(600L); authenticator.setGroupCacheExpiry(60L); // Verify method accepts valid values without exception
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 19.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java
assertNull(path); Integer expire = provider.provideDefaultExpire(); assertNull(expire); } // Test with different expire values @Test public void test_differentExpireValues() { int[] testExpires = { 0, 1, 60, 3600, 86400, Integer.MAX_VALUE }; for (int expire : testExpires) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0)