Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lastHeartbeat (0.39 sec)

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

        public boolean isExpired(long timeoutMs) {
            return System.currentTimeMillis() - lastHeartbeat > timeoutMs;
        }
    
        // Getters and setters
    
        /**
         * Gets the last heartbeat timestamp.
         *
         * @return the last heartbeat timestamp in milliseconds
         */
        public long getLastHeartbeat() {
            return lastHeartbeat;
        }
    
        /**
         * Gets the registration ID.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

            return sequenceNumber.incrementAndGet();
        }
        
        public void updateHeartbeat() {
            this.lastHeartbeat = System.currentTimeMillis();
        }
        
        public boolean isExpired(long timeoutMs) {
            return System.currentTimeMillis() - lastHeartbeat > timeoutMs;
        }
        
        // Getters and setters...
        public String getRegistrationId() { return registrationId; }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top