Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getTimeoutMs (0.05 sec)

  1. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            DurableHandleV2Request request = new DurableHandleV2Request(120000, false);
    
            assertEquals("DH2Q", new String(request.getName()));
            assertTrue(request.size() > 0);
            assertEquals(120000, request.getTimeoutMs());
            assertFalse(request.isPersistent());
            assertNotNull(request.getCreateGuid());
    
            // Test encoding
            byte[] buffer = new byte[request.size()];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

        public long getTimeout100Ns() {
            return timeout100Ns;
        }
    
        /**
         * Get the timeout value converted to milliseconds
         * @return the timeout in milliseconds
         */
        public long getTimeoutMs() {
            if (timeout100Ns == 0) {
                return 0; // Persistent handles
            }
            // Convert from 100-nanosecond intervals to milliseconds
            // 1 ms = 10,000 * 100ns intervals
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

         */
        public HandleGuid getCreateGuid() {
            return createGuid;
        }
    
        /**
         * Get the timeout value in milliseconds
         * @return the timeout in milliseconds
         */
        public long getTimeoutMs() {
            return timeoutMs;
        }
    
        /**
         * Get the timeout value in 100-nanosecond intervals as required by MS-SMB2
         * @return the timeout in 100-nanosecond intervals
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top