Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 60 for get_state (0.06 seconds)

  1. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         *
         * @return the current registration state
         */
        public WitnessRegistrationState getState() {
            return state;
        }
    
        /**
         * Sets the registration state.
         *
         * @param state the new registration state
         */
        public void setState(WitnessRegistrationState state) {
            this.state = state;
        }
    
        /**
         * Gets the registration flags.
    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)
  2. docs/smb3-features/03-multi-channel-design.md

        failover.handleFailure(channel, error);
        
        // Verify channel marked as failed
        assertEquals(ChannelState.FAILED, channel.getState());
        
        // Verify recovery attempted
        Thread.sleep(2000);
        assertTrue(channel.getState() == ChannelState.ESTABLISHED 
            || manager.getChannels().isEmpty());
    }
    ```
    
    ### 7.2 Integration Tests
    ```java
    @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        }
    
        /**
         * Get current channel state
         *
         * @return channel state
         */
        public ChannelState getState() {
            return state;
        }
    
        /**
         * Set channel state
         *
         * @param state new state
         */
        public void setState(ChannelState state) {
            this.state = state;
        }
    
        /**
         * Get the time when channel was established
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
    
            // Wait for timeout
            Thread.sleep(150);
    
            // Next call should transition to HALF_OPEN
            String result = circuitBreaker.call(() -> "success");
            assertEquals("success", result);
            assertEquals(SimpleCircuitBreaker.State.HALF_OPEN, circuitBreaker.getState());
        }
    
        @Test
    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)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Circuit should be in HALF_OPEN");
    
            // One more success should close the circuit (threshold is 2)
            circuitBreaker.executeWithCircuitBreaker(() -> "success2");
            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
        }
    
        @Test
    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)
  6. src/test/java/jcifs/util/transport/TransportTest.java

                for (int state : disconnectedStates) {
                    transport.setState(state);
                    assertTrue(transport.isDisconnected(), "State " + state + " should be disconnected");
                }
    
                for (int state : connectedStates) {
                    transport.setState(state);
                    assertFalse(transport.isDisconnected(), "State " + state + " should not be disconnected");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/bsentity/BsUser.java

            registerModifiedProperty("roomNumber");
            this.roomNumber = value;
        }
    
        public String getState() {
            checkSpecifiedProperty("state");
            return convertEmptyToNull(state);
        }
    
        public void setState(String value) {
            registerModifiedProperty("state");
            this.state = value;
        }
    
        public String getStreet() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTask.java

        }
    
        public void setOutputDir(File outputDir) {
            this.outputDir.set(outputDir);
        }
    
        public void copy(String resource) {
            if (getState().getExecuted() || getState().getExecuting()) {
                throw new GradleException(
                    "buildResources can't be configured after the task ran. " + "Make sure task is not used after configuration time"
                );
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                assertEquals(address, connection.getRemoteAddress(), "Remote address should match");
                assertNotNull(connection.getState(), "Connection state should not be null");
    
                System.out.println("RDMA connection created to: " + address);
                System.out.println("Connection state: " + connection.getState());
            }
        }
    
        @Test
        public void testRdmaTransportCreationWithMockDelegate() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  10. cmd/speedtest.go

    		var throughputHighestResults []SpeedTestResult
    
    		sendResult := func() {
    			var result madmin.SpeedTestResult
    
    			durationSecs := opts.duration.Seconds()
    
    			result.GETStats.ThroughputPerSec = throughputHighestGet / uint64(durationSecs)
    			result.GETStats.ObjectsPerSec = throughputHighestGet / uint64(opts.objectSize) / uint64(durationSecs)
    			result.PUTStats.ThroughputPerSec = throughputHighestPut / uint64(durationSecs)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top