Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getCreateGuid (0.1 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                    } else {
                        // Remove failed handle
                        handles.remove(path);
                        guidToHandle.remove(info.getCreateGuid());
                        removePersistedHandle(info);
                        log.warn("Reconnection failed, removed handle for: {}", path);
                    }
                }
            } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            assertTrue(request.size() > 0);
            assertEquals(120000, request.getTimeoutMs());
            assertFalse(request.isPersistent());
            assertNotNull(request.getCreateGuid());
    
            // Test encoding
            byte[] buffer = new byte[request.size()];
            int encoded = request.encode(buffer, 0);
            assertEquals(request.size(), encoded);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            HandleInfo info = manager.getHandleForReconnect("/test/file.txt");
            assertNotNull(info);
            assertEquals(guid, info.getCreateGuid());
            assertTrue(info.isReconnecting());
        }
    
        @Test
        public void testGetHandleForReconnectExpired() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         * @return the path
         */
        public String getPath() {
            return path;
        }
    
        /**
         * Get the create GUID
         * @return the create GUID
         */
        public HandleGuid getCreateGuid() {
            return createGuid;
        }
    
        /**
         * Get the file ID
         * @return copy of the 16-byte file ID
         */
        public byte[] getFileId() {
            return Arrays.copyOf(fileId, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Get the create GUID for this request
         * @return the create GUID
         */
        public HandleGuid getCreateGuid() {
            return createGuid;
        }
    
        /**
         * Get the timeout value in milliseconds
         * @return the timeout in milliseconds
         */
        public long getTimeoutMs() {
            return timeoutMs;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

            HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, testLeaseKey);
    
            assertEquals("/test/file.txt", info.getPath());
            assertEquals(testGuid, info.getCreateGuid());
            assertArrayEquals(testFileId, info.getFileId());
            assertEquals(HandleType.DURABLE_V2, info.getType());
            assertEquals(120000, info.getTimeout());
            assertEquals(testLeaseKey, info.getLeaseKey());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            jcifs.internal.smb2.persistent.DurableHandleV2Request context =
                    new jcifs.internal.smb2.persistent.DurableHandleV2Request(timeoutMs, persistent);
            addCreateContext(context);
            return context.getCreateGuid();
        }
    
        /**
         * Add a durable handle V2 context with specific GUID
         * @param timeoutMs the timeout in milliseconds
         * @param persistent true if this should be a persistent 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)
Back to top