- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 603 for durable (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ 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. */ public class HandleInfo implements Serializable {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/persistent/PersistentHandleManager.java
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
} } return false; } /** * Add a durable handle V1 context to this request */ public void addDurableHandleV1Context() { 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)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
├── PersistentHandleManager.java - Handle persistence management ├── DurableHandleRequest.java - Durable handle v1 support ├── DurableHandleV2Request.java - Durable handle v2 with timeout └── HandleReconnector.java - Automatic handle reconnection ``` #### 2.2 Implementation Tasks - [ ] Implement persistent/durable handle contexts - [ ] Add handle GUID generation and tracking - [ ] Implement handle state serialization
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
import java.util.concurrent.CompletableFuture; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.internal.smb2.create.Smb2CreateRequest; /** * Handles automatic reconnection of durable and persistent SMB handles. * * This class provides retry logic with exponential backoff for handle * reconnection after network failures or server issues. */ public class HandleReconnector {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
*/ package jcifs.internal.smb2.persistent; import java.io.Serializable; import java.nio.ByteBuffer; import java.util.UUID; /** * Handle GUID structure for SMB2/3 durable and persistent handles. * Provides a unique identifier for each handle that can be used * for reconnection after network failures or server reboots. * * According to MS-SMB2, the GUID is a 16-byte structure with little-endian
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
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 */ public class DurableHandleContextTest { @Test public void testDurableHandleRequest() { DurableHandleRequest request = new DurableHandleRequest();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
assertEquals(testLeaseKey, info.getLeaseKey()); assertFalse(info.isReconnecting()); assertNull(info.getFile()); } @Test public void testHandleInfoExpiration() { // Test durable handle expiration HandleInfo durableInfo = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 100, // 100ms timeout null); assertFalse(durableInfo.isExpired());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
*/ boolean isAllowGuestFallback(); /** * Property {@code jcifs.smb.client.useDurableHandles}, defaults to true * * @return whether to use durable handles for improved reliability */ boolean isUseDurableHandles(); /** * Property {@code jcifs.smb.client.usePersistentHandles}, defaults to false *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0)