- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 321 for failures (0.06 seconds)
-
src/main/java/jcifs/util/SimpleCircuitBreaker.java
int failures = consecutiveFailures.incrementAndGet(); if (failures >= failureThreshold) { if (state.compareAndSet(State.CLOSED, State.OPEN)) { stateChangeTime.set(System.currentTimeMillis()); log.warn("Circuit breaker {} opened after {} consecutive failures", name, failures); } } } } /**
Created: 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/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Expected } } // Circuit should be OPEN after 3 failures assertEquals(State.OPEN, customCb.getState(), "Circuit should be OPEN after regular failures"); assertEquals(3, customCb.getFailureCount(), "Should have 3 failures"); // Reset for custom predicate test customCb.reset();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) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
int failures = getFailureCount(handle); // Base interval starts at 1 second, increases with failures // Max interval is 30 seconds for inactive directories return Math.min(MAX_POLL_INTERVAL, BASE_POLL_INTERVAL + (failures * 2000)); } /** * Get failure count for a handle * * @param handle notification handle
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
log.warn("[{}] Failure in HALF_OPEN state, reopening circuit: {}", name, e.getMessage()); transitionTo(State.OPEN); } else if (currentState == State.CLOSED) { int failures = failureCount.incrementAndGet(); int currentThreshold = this.failureThreshold; log.debug("[{}] Failure in CLOSED state ({}/{}): {}", name, failures, currentThreshold, e.getMessage());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt
failures.add(lines.joinToString("\n")) } } } if (shouldFix) { // Only write the mutations if there were no failures if (failures.isNotEmpty()) { val lines = listOf("""
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 13.8K bytes - Click Count (0) -
docs/metrics/prometheus/list.md
| `minio_cluster_replication_proxied_head_requests_failures` | (_Site Replication Only_)Number of failures in HEAD requests proxied to replication target |
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 43.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
// Exponential backoff on errors: max 30 seconds, based on consecutive failures try { int failures = Math.min(registration.getHeartbeatFailures(), MAX_FAILURE_LIMIT); long backoffDelay = Math.min(MAX_ERROR_BACKOFF, BASE_ERROR_DELAY * (1L << failures)); Thread.sleep(backoffDelay);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
} /** * Safely registers a class with Kryo, logging any registration failures at WARN level. * <p> * This method catches exceptions for individual class registrations to ensure * that a failure to register one class doesn't prevent other classes from being registered. * Registration failures are logged at WARN level since they may cause serialization errors later. * </p> *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
@Test @DisplayName("Test mixed success and failure pattern") void testMixedPattern() throws Exception { // Success circuitBreaker.call(() -> "success"); // Two failures (not enough to open) for (int i = 0; i < 2; i++) { try { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); });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/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Only record failure/success if the attempt was allowed if (j % 2 == 0) { concurrentLimiter.recordFailure("user" + threadId, "192.168.2." + threadId); localFailures++; // Prevent lockout by resetting after 3 failures if (localFailures >= 3) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0)