Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 307 for failure (0.05 sec)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                    throw new RuntimeException("Failure in half-open");
                });
                fail("Should have thrown exception");
            } catch (CIFSException e) {
                // Expected - failure in HALF_OPEN should reopen circuit
            }
    
            assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should reopen after failure in HALF_OPEN");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

        /**
         * Displays the main failure URL management page.
         *
         * @return HTML response for the failure URL list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        /**
         * Displays the failure URL list page with pagination support.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtStatus.java

                "Logon failure: unknown user name or bad password.", "Logon failure: user account restriction.",
                "Logon failure: account logon time restriction violation.", "Logon failure: user not allowed to log on to this computer.",
                "Logon failure: the specified account password has expired.", "Logon failure: account currently disabled.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. 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)
  7. 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.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThat(suppressed[0]).hasCauseThat().hasMessageThat().isEqualTo("run failure");
    
        assertThat(suppressed[1]).hasCauseThat().isInstanceOf(IllegalStateException.class);
        assertThat(suppressed[1]).hasCauseThat().hasMessageThat().isEqualTo("start failure");
        LogRecord record = Iterables.getOnlyElement(logHandler.getStoredLogRecords());
        // We log failures that occur after startup
        assertThat(record.getMessage())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && got != v.want {
    			t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want)
    		}
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                t.setDaemon(true);
                return t;
            });
            this.failoverStates = new ConcurrentHashMap<>();
        }
    
        /**
         * Handle channel failure
         *
         * @param failedChannel failed channel
         * @param error error that caused failure
         */
        public void handleFailure(ChannelInfo failedChannel, Exception error) {
            log.warn("Channel {} failed: {}", failedChannel.getChannelId(), error.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top