Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 683 for failures (0.05 seconds)

  1. 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)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

     * </ul>
     *
     * <p>Repository validation ensures data integrity by:
     * <ul>
     *   <li>Preventing duplicate repositories that could cause confusion</li>
     *   <li>Rejecting null repository entries that would cause failures</li>
     *   <li>Maintaining consistent repository ordering for reproducible builds</li>
     * </ul>
     *
     * @since 4.0.0
     * @see RemoteRepository
     * @see Session#getRemoteRepositories()
     */
    @Experimental
    @Immutable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        /**
         * Gets the number of consecutive heartbeat failures.
         *
         * @return the number of consecutive heartbeat failures
         */
        public int getHeartbeatFailures() {
            return heartbeatFailures;
        }
    
        /**
         * Checks if this registration has expired based on the timeout.
         *
         * @param timeoutMs the timeout in milliseconds
         * @return true if the registration is expired
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. docs/features/events.md

            return EventListener.NONE;
          }
        }
      };
    
      ...
    }
    ```
    
    ### Events with Failures
    
    When an operation fails, a failure method is called. This is `connectFailed()` for failures while building a connection to the server, and `callFailed()` when the HTTP call fails permanently. When a failure happens it is possible that a `start` event won’t have a corresponding `end` event.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  5. docs/erasure/README.md

    In 12 drive example above, with MinIO server running in the default configuration, you can lose any of the six drives and still reconstruct the data reliably from the remaining drives.
    
    ## Why is Erasure Code useful?
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        }
    
        @Test
        void testMultipleFailuresExceedRetryLimit() {
            IOException error = new IOException("Connection failed");
    
            // Simulate multiple failures
            for (int i = 0; i < 5; i++) {
                failover.handleFailure(failedChannel, error);
            }
    
            // Should eventually remove the channel
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

    import java.net.URI
    import okhttp3.internal.format
    
    class RecordingProxySelector : ProxySelector() {
      @JvmField val proxies = mutableListOf<Proxy>()
    
      val requestedUris = mutableListOf<URI>()
      val failures = mutableListOf<String>()
    
      override fun select(uri: URI): List<Proxy> {
        requestedUris.add(uri)
        return proxies
      }
    
      fun assertRequests(vararg expectedUris: URI?) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. 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)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                            }
                            allStepsExecuted &= step == projectStep || projectStep.status.get() == EXECUTED;
                        }
    
                        if (failures != null) {
                            // Handle the stored exception
                            Throwable failure;
                            if (failures.size() == 1) {
                                failure = failures.get(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt

     *  * The configuration is incapable of carrying the request, such as when the client is configured
     *    to use `H2_PRIOR_KNOWLEDGE` but the URL's scheme is `https:`.
     *  * Preemptive proxy authentication failed.
     *
     * Planning failures are not necessarily fatal. For example, even if we can't DNS lookup the first
     * proxy in a list, looking up a subsequent one may succeed.
     */
    internal class FailedPlan(
      e: Throwable,
    ) : RoutePlanner.Plan {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top