- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 509 for Failure (0.04 sec)
-
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"); });
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/util/SmbCircuitBreaker.java
} /** * Get current failure threshold (may be dynamically adjusted) * * @return current failure threshold */ public int getCurrentFailureThreshold() { return failureThreshold; } /** * Update failure threshold (for dynamic adjustment) * * @param newThreshold the new failure threshold */
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/main/java/jcifs/smb/SMBSignatureValidationException.java
} /** * Constructs an SMB signature validation exception with message and cause. * * @param msg the detail message describing the validation failure * @param rootCause the underlying cause of the validation failure */ public SMBSignatureValidationException(final String msg, final Throwable rootCause) { super(msg, rootCause); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
* * @param from The previous state that is being transitioned from. Failure can occur in any * state with the exception of {@linkplain State#NEW NEW} or {@linkplain State#TERMINATED * TERMINATED}. * @param failure The exception that caused the failure. */ public void failed(State from, Throwable failure) {} }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 10.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt
target = requestLine.target, version = requestLine.version, url = requestUrl, headers = headers, body = body, bodySize = bodySize, chunkSizes = chunkSizes, failure = failure, ) } internal fun decodeRequestLine(requestLine: String?): RequestLine { val parts = when { requestLine != null -> requestLine.split(' ', limit = 3)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 12:43:16 UTC 2025 - 3.3K bytes - Viewed (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
/** Constructor for use by subclasses. */ protected InternalFutureFailureAccess() {} /** * Usually returns {@code null} but, if this {@code Future} has failed, may <i>optionally</i> * return the cause of the failure. "Failure" means specifically "completed with an exception"; it * does not include "was cancelled." To be explicit: If this method returns a non-null value, * then: * * <ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt
when { tcpConnectResult.isSuccess -> plan.connectTlsEtc() else -> tcpConnectResult } val (_, nextPlan, failure) = connectResult if (failure != null) throw failure if (nextPlan != null) { routePlanner.deferredPlans.addFirst(nextPlan) continue } } return plan.handleSuccess()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
import org.lastaflute.web.response.ApiResponse; import org.lastaflute.web.response.JsonResponse; /** * The hook for API failure. * * @author jflute */ public class FessApiFailureHook implements ApiFailureHook { // #change_it for handling API failure private static final Logger logger = LogManager.getLogger(FessApiFailureHook.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); } public void testSetFailureNull() throws Exception { assertThrows(NullPointerException.class, () -> future.setException(null)); assertFalse(future.isDone()); assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); } public void testCancel() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
checkArgument( (failure != null) == (internalState == FAILED), "A failure cause should be set if and only if the state is failed. Got %s and %s " + "instead.", internalState, failure); this.state = internalState; this.shutdownWhenStartupFinishes = shutdownWhenStartupFinishes; this.failure = failure; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.3K bytes - Viewed (0)