- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for setMaxAge (0.13 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
DirectoryCacheScope.IMMEDIATE_CHILDREN); // Make the cache entry expired DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath); entry.setMaxAge(1); // 1ms to expire immediately try { Thread.sleep(10); } catch (InterruptedException e) { // Ignore }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
} /** * Sets the maximum age of the role information in seconds. * @param maxAge The maximum age of the role information in seconds. */ public void setMaxAge(final long maxAge) { this.maxAge = maxAge; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath); assertNotNull(entry); // Set very short expiration time entry.setMaxAge(50); // 50ms // Update cache List<SmbFile> files = Arrays.asList(mockFile1); directoryLeaseManager.updateDirectoryCache(directoryPath, files); assertTrue(entry.isComplete());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
public long getMaxAge() { return maxAge; } /** * Sets the maximum age for cached data * @param maxAge the maximum cache age in milliseconds */ public void setMaxAge(long maxAge) { this.maxAge = maxAge; } /** * Gets the timestamp when this cache entry was created * @return the create time */ public long getCreateTime() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
if (StringUtil.isNotBlank(path)) { cookie.setPath(path); } cookie.setMaxAge(fessConfig.getCookieSearchParameterMaxAgeAsInteger()); cookie.setAttribute("SameSite", fessConfig.getCookieSearchParameterSameSite()); res.addCookie(cookie);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
assertEquals("cookie", roleQueryHelper.cookieKey); roleQueryHelper.setEncryptedCookieValue(false); assertFalse(roleQueryHelper.encryptedCookieValue); roleQueryHelper.setMaxAge(300); assertEquals(300, roleQueryHelper.maxAge); } public void test_init() { final RoleQueryHelper roleQueryHelper = new RoleQueryHelper();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
* @param age the maximum age of the cookie in seconds */ protected void updateCookie(final String userCode, final int age) { final Cookie cookie = new Cookie(cookieName, userCode); cookie.setMaxAge(age); cookie.setHttpOnly(httpOnly); if (StringUtil.isNotBlank(cookieDomain)) { cookie.setDomain(cookieDomain); } if (StringUtil.isNotBlank(cookiePath)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0)