Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 505 for breaker (0.07 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

                                // Some failures
                                breaker.call(() -> {
                                    throw new RuntimeException("Test");
                                });
                            } else {
                                // Some successes
                                breaker.call(() -> "success");
                                successCount.incrementAndGet();
                            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. internal/event/target/kafka.go

    	}
    
    	return target, nil
    }
    
    func isKafkaConnErr(err error) bool {
    	// Sarama opens the circuit breaker after 3 consecutive connection failures.
    	return err == sarama.ErrLeaderNotAvailable || err.Error() == "circuit breaker is open"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. CLAUDE.md

    - Connection pooling with limits
    - Background temp file deletion via `FileUtil.deleteInBackground()`
    
    **Fault Tolerance**:
    - `FaultTolerantClient` wrapper (retry, circuit breaker)
    - Graceful degradation (e.g., robots.txt parsing continues on errors)
    
    ---
    
    ## Key Components
    
    ### Crawler (`Crawler.java`)
    
    Main orchestrator for crawling operations.
    
    **Key Methods**:
    ```java
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/main/resources/esclient.xml

    			 <!--
    			 "node.name":"search_engine",
    			 "discovery.seed_hosts":"search_engine",
    			 "cluster.initial_cluster_manager_nodes":"search_engine",
    			 "node.roles":"cluster_manager,data,ingest,ml",
    			 -->
    			 "indices.breaker.total.limit":"100%",
    			 "action.auto_create_index":"-*"}
    		</property>
    		<!-- Dictionaries -->
    		<postConstruct name="addConfigFile">
    			<arg>"fess"</arg>
    			<arg>"mapping.txt"</arg>
    		</postConstruct>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 06 13:45:02 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  10. internal/s3select/json/preader.go

    	"github.com/minio/minio/internal/s3select/jstream"
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // PReader - JSON record reader for S3Select.
    // Operates concurrently on line-delimited JSON.
    type PReader struct {
    	args        *ReaderArgs
    	readCloser  io.ReadCloser             // raw input
    	buf         *bufio.Reader             // input to the splitter
    	current     []jstream.KVS             // current block of results to be returned
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top