- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 145 for breaker (0.07 sec)
-
src/main/java/jcifs/util/SimpleCircuitBreaker.java
/** * Creates a simple circuit breaker with default settings * * @param name the circuit breaker name */ public SimpleCircuitBreaker(String name) { this(name, 5, 3, 30000L); // 5 failures, 3 successes, 30 second timeout } /** * Creates a simple circuit breaker * * @param name the circuit breaker name
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
/** * Create a circuit breaker with default settings * * @param name circuit breaker name for logging */ public SmbCircuitBreaker(String name) { this(name, 5, 3, 60000, 3, false, false, 100); } /** * Create a circuit breaker with custom settings * * @param name circuit breaker name for logging
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
CIFSException exception = assertThrows(CIFSException.class, () -> { circuitBreaker.executeWithCircuitBreaker(() -> "should not execute"); }, "Circuit breaker should throw CIFSException when open"); assertTrue(exception.getMessage().contains("Circuit breaker 'test' is open"), "Exception message should indicate circuit is open"); } @Test public void testCircuitResetsAfterTimeout() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
// Some failures breaker.call(() -> { throw new RuntimeException("Test"); }); } else { // Some successes breaker.call(() -> "success"); successCount.incrementAndGet(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
// Log circuit breaker rejection auditLogger.logSecurityViolation("Circuit breaker open for SMB connection", java.util.Map.of("address", address.getHostAddress(), "port", String.valueOf(port))); throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e); } catch (RuntimeException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
cmd/bucket-handlers.go
writeErrorResponse(ctx, w, apiErr, r.URL) return } reader = &b actualSize = n } // we have found the File part of the request we are done processing multipart-form break } // check if have a file if reader == nil { apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
// Test constructor with whitespace in type String type = " Bearer Token "; String message = "Whitespace in token type"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message); assertEquals(" Bearer Token ", exception.getType()); assertEquals(message, exception.getMessage()); assertNull(exception.getCause());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
cmd/object-handlers.go
} // do not try to verify encrypted content srcInfo.Reader, err = hash.NewReader(ctx, reader, targetSize, "", "", actualSize) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } if isTargetEncrypted { pReader, err = pReader.WithEncryption(srcInfo.Reader, &objEncKey) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 120.6K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
## Number validations: greater than and less than or equal { #number-validations-greater-than-and-less-than-or-equal } The same applies for: * `gt`: `g`reater `t`han * `le`: `l`ess than or `e`qual {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *} ## Number validations: floats, greater than and less than { #number-validations-floats-greater-than-and-less-than }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java
this.inputStream = inputStream; return this; } public XmlReaderRequestBuilder reader(Reader reader) { this.reader = reader; return this; } public XmlReaderRequestBuilder transformer(Transformer transformer) { this.transformer = transformer; return this;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Aug 29 12:46:27 UTC 2025 - 6.8K bytes - Viewed (0)