- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 78 for PERSISTENT (0.05 seconds)
-
docs/smb3-features/02-persistent-handles-design.md
// Persistent handles don't expire HandleInfo persistent = new HandleInfo( "/test/file2.txt", new HandleGuid(), new byte[16], HandleType.PERSISTENT, 0, null ); Thread.sleep(100); assertFalse(persistent.isExpired()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
/** * Create a new durable handle V2 request * @param timeoutMs the timeout in milliseconds (0 for persistent handles) * @param persistent true if this should be a persistent handle */ public DurableHandleV2Request(long timeoutMs, boolean persistent) { this.timeoutMs = timeoutMs; this.flags = persistent ? Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT : 0; this.createGuid = new HandleGuid(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleType.java
*/ DURABLE_V1(1), /** * SMB 3.0 durable handle V2 - with timeout configuration */ DURABLE_V2(2), /** * SMB 3.0 persistent handle - survives server reboot */ PERSISTENT(3); private final int value; HandleType(int value) { this.value = value; } /** * Get the numeric value of this handle typeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
) fun value(): String = value @JvmName("-deprecated_persistent") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "persistent"), level = DeprecationLevel.ERROR, ) fun persistent(): Boolean = persistent @JvmName("-deprecated_expiresAt") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "expiresAt"),
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.internal.smb2.lease.Smb2LeaseKey; /** * Manager for persistent and durable SMB handles. * * This class provides: * - Handle lifecycle management * - Persistent storage for persistent handles * - Expiration tracking for durable handles * - Thread-safe access to handle information */ public class PersistentHandleManager {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
addCreateContext(new jcifs.internal.smb2.persistent.DurableHandleRequest()); } /** * Add a durable handle V2 context to this request * @param timeoutMs the timeout in milliseconds (0 for persistent handles) * @param persistent true if this should be a persistent handle * @return the create GUID for this handle */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java
* Lesser General Public License for more details. */ package jcifs.internal.smb2.persistent; /** * Constants for SMB2/3 durable and persistent handle capabilities. */ public final class Smb2HandleCapabilities { /** * Flag indicating persistent handle capability */ public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- Add lease break handling in `SmbTransport` --- ### Phase 2: Persistent Handles **Priority: HIGH** | **Estimated Effort: 4-5 weeks** Persistent handles allow connections to survive network interruptions and server failovers. #### 2.1 Core Persistent Handle Infrastructure ``` Package: jcifs.internal.smb2.persistent ├── PersistentHandleContext.java - Persistent handle create context
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
* Lesser General Public License for more details. */ package jcifs.internal.smb2.persistent; import java.io.Serializable; import java.util.Arrays; import jcifs.internal.smb2.lease.Smb2LeaseKey; /** * Information about a durable or persistent SMB handle. * This class holds all the necessary information to reconnect * a handle after network failures or server reboots. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
*/ public int getFlags() { return flags; } /** * Check if this is a persistent handle * @return true if persistent */ public boolean isPersistent() { return (flags & Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT) != 0; } /** * Get the context name as string * @return the context name */ public String getContextName() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0)