- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 523 for breaker (0.14 seconds)
-
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/AggConstructionContentionBenchmark.java
import org.elasticsearch.index.query.QueryBuilder; import org.elasticsearch.index.query.support.NestedScope; import org.elasticsearch.indices.breaker.CircuitBreakerService; import org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService; import org.elasticsearch.indices.breaker.NoneCircuitBreakerService; import org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache; import org.elasticsearch.script.Script;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 16 08:22:22 GMT 2021 - 12.3K bytes - Click Count (0) -
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 nameCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (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 loggingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (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 {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0) -
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"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
// Some failures breaker.call(() -> { throw new RuntimeException("Test"); }); } else { // Some successes breaker.call(() -> "success"); successCount.incrementAndGet(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
CLAUDE.md
**Fault Tolerance**: `FaultTolerantClient` wrapper (retry, circuit breaker), `SwitchableHttpClient` for HTTP client fallback --- ## Key Components ### Core Classes - **Crawler** (`Crawler.java`): Main orchestrator - `execute()`, `addUrl()`, `cleanup()`, `stop()`
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Mar 12 03:39:20 GMT 2026 - 8.1K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java
import org.elasticsearch.action.search.SearchRequest; import org.elasticsearch.common.breaker.CircuitBreaker; import org.elasticsearch.common.breaker.NoopCircuitBreaker; import org.elasticsearch.common.lucene.search.TopDocsAndMaxScore; import org.elasticsearch.index.Index; import org.elasticsearch.index.shard.ShardId; import org.elasticsearch.indices.breaker.NoneCircuitBreakerService; import org.elasticsearch.search.DocValueFormat;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Aug 20 15:45:38 GMT 2021 - 8.1K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/indices/breaker/MemoryStatsBenchmark.java
* in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ package org.elasticsearch.benchmark.indices.breaker; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.Measurement;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Feb 03 00:10:53 GMT 2021 - 2.7K bytes - Click Count (0)