- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for PERSISTENT (1.78 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.internal.smb2.persistent.HandleGuid; import jcifs.internal.smb2.persistent.HandleInfo; import jcifs.internal.smb2.persistent.HandleReconnector; import jcifs.internal.smb2.persistent.HandleType; import jcifs.internal.smb2.persistent.PersistentHandleManager; /** * Test class for HandleReconnector functionality */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
/* * © 2025 CodeLibs, Inc. */ package jcifs.tests.persistent; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import java.util.UUID; import org.junit.jupiter.api.Test; import jcifs.internal.smb2.persistent.HandleGuid; /** * Test class for HandleGuid functionality */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (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; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.3K 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 typeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.7K bytes - Viewed (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() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0)