Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 267 for transitions (5.02 sec)

  1. guava/src/com/google/common/util/concurrent/Service.java

         * Called when the service transitions to the {@linkplain State#TERMINATED TERMINATED} state.
         * The {@linkplain State#TERMINATED TERMINATED} state is a terminal state in the transition
         * diagram. Therefore, if this method is called, no other methods will be called on the {@link
         * Listener}.
         *
         * @param from The previous state that is being transitioned from. Failure can occur in any
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Service.java

         * Called when the service transitions to the {@linkplain State#TERMINATED TERMINATED} state.
         * The {@linkplain State#TERMINATED TERMINATED} state is a terminal state in the transition
         * diagram. Therefore, if this method is called, no other methods will be called on the {@link
         * Listener}.
         *
         * @param from The previous state that is being transitioned from. Failure can occur in any
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            monitor.leave();
          }
        }
    
        /**
         * Marks the {@link State} as ready to receive transitions. Returns true if no transitions have
         * been observed yet.
         */
        void markReady() {
          monitor.enter();
          try {
            if (!transitioned) {
              // nothing has transitioned since construction, good.
              ready = true;
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            assertEquals(SmbComTransaction.SMB_COM_NT_TRANSACT, resp2.getCommand());
        }
    
        @Test
        @DisplayName("Test response state transitions")
        void testResponseStateTransitions() {
            // Test initial state
            assertTrue(response.hasMoreElements());
    
            // Test state after nextElement call
            response.nextElement();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            SmbTreeConnectionTrace wrapper = new SmbTreeConnectionTrace(delegate);
            wrapper.acquire();
            wrapper.release();
    
            // Assert: delegate interactions occur when usage transitions happen
            verify(delegate, times(1)).acquire();
            verify(delegate, times(1)).release();
        }
    
        @Test
        @DisplayName("finalize() invokes checkRelease exactly once")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Test max attempts in half-open with failure scenario
            circuitBreaker.trip(); // Open again
            Thread.sleep(1100); // Wait for reset
    
            // First attempt transitions to HALF_OPEN
            try {
                circuitBreaker.executeWithCircuitBreaker(() -> {
                    // Verify we're in HALF_OPEN
                    assertEquals(State.HALF_OPEN, circuitBreaker.getState());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                assertNotNull(connection, "Connection should not be null");
                assertEquals(mockAddress, connection.getRemoteAddress(), "Remote address should match");
    
                // Test connection state transitions
                RdmaConnection.RdmaConnectionState initialState = connection.getState();
                assertNotNull(initialState, "Initial state should not be null");
                assertTrue(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
              // If an exception is thrown by the subclass then we need to make sure that the service
              // notices and transitions to the FAILED state. We do it by calling notifyFailed directly
              // because the service does not monitor the state of the future so if the exception is not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
              // If an exception is thrown by the subclass then we need to make sure that the service
              // notices and transitions to the FAILED state. We do it by calling notifyFailed directly
              // because the service does not monitor the state of the future so if the exception is not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param hextets {@code int[]} array of eight 16-bit hextets, or -1s
       */
      private static String hextetsToIPv6String(int[] hextets) {
        // While scanning the array, handle these state transitions:
        //   start->num => "num"     start->gap => "::"
        //   num->num   => ":num"    num->gap   => "::"
        //   gap->num   => "num"     gap->gap   => ""
        StringBuilder buf = new StringBuilder(39);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top