- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for No_Retry (0.32 sec)
-
src/main/java/jcifs/smb/RequestParam.java
* No special request parameters. */ NONE, /** * Wait indefinitely for a response */ NO_TIMEOUT, /** * Do not retry request on failure */ NO_RETRY, /** * Save the raw payload for further inspection */ RETAIN_PAYLOAD
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertEquals(3.0, conservativePolicy.getBackoffMultiplier()); assertTrue(conservativePolicy.isExponentialBackoff()); // NO_RETRY policy SmbOperationException.RetryPolicy noRetryPolicy = SmbOperationException.RetryPolicy.NO_RETRY; assertEquals(1, noRetryPolicy.getMaxAttempts()); assertEquals(0, noRetryPolicy.getInitialDelayMs()); assertEquals(0, noRetryPolicy.getMaxDelayMs());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
if (log.isTraceEnabled()) { log.trace("Sending NtTransNotifyChange for " + this.handle); } try { resp = th.send(req, resp, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY); } catch (final SmbException e) { if (e.getNtStatus() == 0xC0000120) { // cancelled log.debug("Request was cancelled", e); return null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
final Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId()); treq.setFileInformation(new FileEndOfFileInformation(0)); th.send(treq, RequestParam.NO_RETRY); } } } catch (final CIFSException e) { throw SmbException.wrap(e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
final Smb2CloseRequest req = new Smb2CloseRequest(this.cfg, this.fileId); t.send(req, RequestParam.NO_RETRY); } else { t.send(new SmbComClose(this.cfg, this.fid, lastWriteTime), new SmbComBlankResponse(this.cfg), RequestParam.NO_RETRY); } } } finally { this.open = false; if (t != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
lenient().when(fh.getTree()).thenReturn(tree); when(fh.getFileId()).thenReturn(new byte[16]); // Setup for ioctl request when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioctlResp); when(ioctlResp.getOutputLength()).thenReturn(42); byte[] in = new byte[128]; byte[] out = new byte[256]; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
when(tree.send(any(jcifs.internal.Request.class), any(RequestParam.class))).thenReturn(null); raf.setLength(100L); verify(tree, times(1)).send(any(Smb2SetInfoRequest.class), eq(RequestParam.NO_RETRY)); } @Test @DisplayName("setLength(): NT SMBs capability uses Trans2SetFileInformation") void setLength_ntsmbs_usesTrans2() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
verify(resp, atLeastOnce()).reset(); // Verify disconnect was called on retry verify(c, atLeastOnce()).disconnect(eq(true)); } @Test @DisplayName("send honors NO_RETRY and propagates error immediately") void send_noRetry_param() throws Exception { SmbTreeConnection c = newConn(); SmbTreeImpl tree = mock(SmbTreeImpl.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
(short) negoReq.getSecurityMode(), negoReq.getDialects())); Smb2IoctlResponse resp; try { resp = send(req, RequestParam.NO_RETRY); } catch (final SMBSignatureValidationException e) { throw new SMBProtocolDowngradeException("Signature error during negotiate validation", e); } catch (final SmbException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0)