Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Setstat (0.04 sec)

  1. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            registration.setState(WitnessRegistrationState.REGISTERED);
            assertEquals(WitnessRegistrationState.REGISTERED, registration.getState());
    
            registration.setState(WitnessRegistrationState.UNREGISTERING);
            assertEquals(WitnessRegistrationState.UNREGISTERING, registration.getState());
    
            registration.setState(WitnessRegistrationState.FAILED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertEquals(ChannelState.ESTABLISHED, channelInfo.getState());
            assertTrue(channelInfo.isHealthy());
    
            channelInfo.setState(ChannelState.ACTIVE);
            assertTrue(channelInfo.isHealthy());
    
            channelInfo.setState(ChannelState.FAILED);
            assertFalse(channelInfo.isHealthy());
        }
    
        @Test
        void testActivityTracking() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            channel.setState(ChannelState.ESTABLISHED);
    
            // Simulate failure
            IOException failure = new IOException("Connection lost");
            failover.handleFailure(channel, failure);
    
            // Verify channel state changed
            assertFalse(channel.isHealthy());
            assertEquals(ChannelState.FAILED, channel.getState());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            failedChannel.setState(ChannelState.ESTABLISHED);
    
            when(mockChannelManager.getLoadBalancer()).thenReturn(mockLoadBalancer);
        }
    
        @Test
        void testHandleFailure() {
            IOException error = new IOException("Connection failed");
    
            failover.handleFailure(failedChannel, error);
    
            assertEquals(ChannelState.FAILED, failedChannel.getState());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. 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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. 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)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            channel1 = new ChannelInfo("channel1", mockTransport1, local, remote1);
            channel1.setState(ChannelState.ESTABLISHED);
    
            channel2 = new ChannelInfo("channel2", mockTransport2, local, remote2);
            channel2.setState(ChannelState.ESTABLISHED);
        }
    
        @Test
        void testSingleChannelSelection() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. cmd/metrics-realtime.go

    			CollectedAt:   UTCNow(),
    			InterfaceName: globalInternodeInterface,
    		}
    		netStats, err := net.GetInterfaceNetStats(globalInternodeInterface)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v  (nicstats)", byHostName, err.Error()))
    		} else {
    			m.Aggregated.Net.NetStats = netStats
    		}
    	}
    	if types.Contains(madmin.MetricsMem) {
    		m.Aggregated.Mem = &madmin.MemMetrics{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/NetbiosAddress.java

     * and hosts usually registers several names on the network. From a
     * Windows command prompt you can see
     * what names a host registers with the nbtstat command.
     *
     *  * <blockquote>
     *
     * <pre>
     * C:\&gt;nbtstat -a 192.168.1.15
     *
     *        NetBIOS Remote Machine Name Table
     *
     *    Name               Type         Status
     * ---------------------------------------------
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top