- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getTimeoutMs (0.05 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0) -
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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.2K bytes - Click Count (0) -
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()];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0)