- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for IsExpired (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
*/ public HandleInfo getHandleForReconnect(String path) { lock.readLock().lock(); try { HandleInfo info = handles.get(path); if (info != null && !info.isExpired()) { info.setReconnecting(true); info.updateAccessTime(); log.debug("Found handle for reconnect: {}", path); return info; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
assertFalse(registration.isExpired(60000)); // Verify heartbeat was actually updated assertTrue(registration.getLastHeartbeat() > initialTime); } @Test void testExpiration() throws InterruptedException { // Registration should not be expired initially with long timeout assertFalse(registration.isExpired(60000));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
@Override public boolean containsKey(Object key) { return cachingHashMap.containsKey(key) && !isExpired(cachingHashMap.get(key)); } @Override public boolean containsValue(Object value) { for (Timestamped<V> val : cachingHashMap.values()) { if (val.getValue().equals(value)) { if (!isExpired(val)) { return true; } } } return false; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 21.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/timer/TimeoutTask.java
this.startTime = System.currentTimeMillis(); } /** * Returns whether the task has expired. * * @return whether the task has expired */ public boolean isExpired() { return System.currentTimeMillis() >= startTime + timeoutMillis; } /** * Returns whether the task is permanent. * * @return whether the task is permanent */
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
HandleType.DURABLE_V2, 1000, // 1 second timeout null ); assertFalse(info.isExpired()); // Wait for expiration Thread.sleep(1500); assertTrue(info.isExpired()); // Persistent handles don't expire HandleInfo persistent = new HandleInfo( "/test/file2.txt",Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
entry.setMaxAge(100); // 100ms assertFalse(entry.isExpired()); assertFalse(entry.needsRefresh()); // Wait for expiration try { Thread.sleep(150); } catch (InterruptedException e) { // Ignore } assertTrue(entry.isExpired()); assertTrue(entry.needsRefresh()); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 8.4K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
} finally { lock.readLock().unlock(); } } public boolean isExpired() { return System.currentTimeMillis() - lastUpdateTime > maxAge; } public boolean needsRefresh() { return isExpired() || hasChanges; } public void markComplete() { lock.writeLock().lock(); try {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
this.leaseKey = leaseKey; this.reconnecting = false; } /** * Check if this handle has expired * @return true if expired */ public boolean isExpired() { if (type == HandleType.PERSISTENT) { return false; // Persistent handles don't expire } long elapsed = System.currentTimeMillis() - lastAccessTime;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
* * @return true if expired */ public boolean isExpired() { return System.currentTimeMillis() - lastUpdateTime > maxAge; } /** * Check if cache needs refresh * * @return true if refresh needed */ public boolean needsRefresh() { return isExpired() || hasChanges; } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 11.4K bytes - Click Count (0) -
cmd/jwt.go
return nil, errAccessKeyDisabled } return nil, errInvalidAccessKeyID } cred := u.Credentials // Expired credentials return error. if cred.IsTemp() && cred.IsExpired() { return nil, errInvalidAccessKeyID } return []byte(cred.SecretKey), nil } // this means claims.AccessKey == rootAccessKey if !globalAPIConfig.permitRootAccess() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.5K bytes - Click Count (0)