- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 253 for breaker (0.05 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) -
src/main/resources/fess_config.properties
suggest.update.contents.limit.num=10000 # Maximum document size for suggestion update. suggest.update.contents.limit.doc.size=50000 # Scroll size for suggestion source reader. suggest.source.reader.scroll.size=1 # Cache size for popular word suggestion. suggest.popular.word.cache.size=1000 # Cache expiration (seconds) for popular word suggestion. suggest.popular.word.cache.expire=60
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 05 14:45:37 UTC 2025 - 54.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
* comment: Tie breaker value for dismax queries. * @return The value of found property. (NotNull: if not found, exception but basically no way) */ String getQueryDismaxTieBreaker(); /** * Get the value for the key 'query.dismax.tie_breaker' as {@link java.math.BigDecimal}. <br> * The value is, e.g. 0.1 <br> * comment: Tie breaker value for dismax queries.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 525.6K bytes - Viewed (1) -
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/main/java/org/codelibs/fess/helper/AccessTokenHelper.java
*/ public class AccessTokenHelper { /** * Default constructor. */ public AccessTokenHelper() { // nothing } /** * The bearer string. */ protected static final String BEARER = "Bearer"; /** * The random instance. */ protected Random random = new SecureRandom(); /** * Generate the access token. * @return The access token.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K 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)