Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getWitnessHeartbeatTimeout (0.14 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        }
    
        /**
         * Checks for expired registrations based on heartbeat timeouts.
         */
        private void checkHeartbeats() {
            long timeout = context.getConfig().getWitnessHeartbeatTimeout();
    
            for (WitnessRegistration registration : registrations.values()) {
                if (registration.isExpired(timeout)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  2. docs/smb3-features/06-witness-protocol-design.md

                   resourceName.equals(registration.getServerAddress().getHostAddress());
        }
        
        private void checkHeartbeats() {
            long timeout = context.getConfig().getWitnessHeartbeatTimeout();
            
            for (WitnessRegistration registration : registrations.values()) {
                if (registration.isExpired(timeout)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

            return this.rdmaPort;
        }
    
        @Override
        public boolean isUseWitness() {
            return this.useWitness;
        }
    
        @Override
        public long getWitnessHeartbeatTimeout() {
            return this.witnessHeartbeatTimeout;
        }
    
        @Override
        public long getWitnessRegistrationTimeout() {
            return this.witnessRegistrationTimeout;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.isUseWitness()).thenReturn(true);
            lenient().when(mockConfig.getWitnessHeartbeatTimeout()).thenReturn(120000L);
            lenient().when(mockConfig.getWitnessRegistrationTimeout()).thenReturn(300000L);
            lenient().when(mockConfig.getWitnessReconnectDelay()).thenReturn(1000L);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            // Setup mock configuration with lenient stubbing
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getWitnessHeartbeatTimeout()).thenReturn(120000L);
            lenient().when(mockConfig.getWitnessRegistrationTimeout()).thenReturn(300000L);
            lenient().when(mockConfig.getWitnessReconnectDelay()).thenReturn(1000L);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top