- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for PERSISTENT (0.12 sec)
-
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()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
*/ public jcifs.internal.smb2.persistent.DurableHandleResponse getDurableHandleResponse() { if (this.createContexts != null) { for (CreateContextResponse ctx : this.createContexts) { if (ctx instanceof jcifs.internal.smb2.persistent.DurableHandleResponse) { return (jcifs.internal.smb2.persistent.DurableHandleResponse) ctx; } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
import org.junit.jupiter.api.Test; import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.smb2.persistent.HandleGuid; import jcifs.internal.smb2.persistent.HandleInfo; import jcifs.internal.smb2.persistent.HandleType; /** * Test class for HandleInfo functionality */ public class HandleInfoTest { private HandleGuid testGuid; private byte[] testFileId; private Smb2LeaseKey testLeaseKey;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (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 {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
import jcifs.internal.smb2.persistent.DurableHandleReconnect; import jcifs.internal.smb2.persistent.DurableHandleRequest; import jcifs.internal.smb2.persistent.DurableHandleV2Request; import jcifs.internal.smb2.persistent.HandleGuid; import jcifs.internal.smb2.persistent.HandleType; import jcifs.internal.smb2.persistent.Smb2HandleCapabilities; /** * Test class for durable handle create context implementations */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (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 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (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(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (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. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
import org.mockito.MockitoAnnotations; import jcifs.CIFSContext; import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.smb2.persistent.HandleGuid; import jcifs.internal.smb2.persistent.HandleInfo; import jcifs.internal.smb2.persistent.HandleType; import jcifs.internal.smb2.persistent.PersistentHandleManager; /** * Test class for PersistentHandleManager functionality */ public class PersistentHandleManagerTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (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 type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.7K bytes - Viewed (0)