Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for heartBeat (0.04 seconds)

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

            return sequenceNumber.incrementAndGet();
        }
    
        /**
         * Updates the heartbeat timestamp to current time and resets failure count.
         */
        public void updateHeartbeat() {
            this.lastHeartbeat = System.currentTimeMillis();
            this.heartbeatFailures = 0;
        }
    
        /**
         * Increments the heartbeat failure count.
         */
        public void incrementHeartbeatFailures() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java

        }
    
        /**
         * Gets the recommended heartbeat interval.
         *
         * @return the recommended heartbeat interval in milliseconds
         */
        public long getRecommendedHeartbeatInterval() {
            return recommendedHeartbeatInterval;
        }
    
        /**
         * Sets the recommended heartbeat interval.
         *
         * @param recommendedHeartbeatInterval the recommended heartbeat interval in milliseconds
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessClient.java

                if (response != null && response.isSuccess()) {
                    registration.updateHeartbeat();
                } else {
                    log.warn("Witness heartbeat failed for: {}", registration.getRegistrationId());
                    registration.incrementHeartbeatFailures();
                }
    
            } catch (Exception e) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            }
        }
    
        /**
         * Sends a witness heartbeat.
         *
         * @param request the heartbeat request
         * @return the heartbeat response
         * @throws IOException if the RPC call fails
         */
        public WitnessHeartbeatResponse heartbeat(WitnessHeartbeatRequest request) throws IOException {
            if (!connected) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessHeartbeatRequest.java

     */
    package jcifs.internal.witness;
    
    /**
     * Represents a witness heartbeat request as defined in MS-SWN specification.
     * Used to maintain active witness registrations.
     */
    public class WitnessHeartbeatRequest {
        /**
         * Creates a new witness heartbeat request.
         */
        public WitnessHeartbeatRequest() {
            // Default constructor
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. cmd/bucket-targets.go

    		return nil
    	}
    	clnt.SetCustomTransport(globalRemoteTargetTransport)
    	return clnt
    }
    
    // heartBeat performs liveness check on remote endpoints.
    func (sys *BucketTargetSys) heartBeat(ctx context.Context) {
    	hcTimer := time.NewTimer(defaultHealthCheckDuration)
    	defer hcTimer.Stop()
    	for {
    		select {
    		case <-hcTimer.C:
    			sys.hMutex.RLock()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

        /** WitnessUnregister operation number */
        public static final int WITNESS_UNREGISTER = 1;
        /** WitnessAsyncNotify operation number */
        public static final int WITNESS_ASYNC_NOTIFY = 2;
        /** Witness heartbeat operation number */
        public static final int WITNESS_HEARTBEAT = 3;
    
        // Common return codes from MS-SWN specification
        /** Operation completed successfully */
        public static final int ERROR_SUCCESS = 0x00000000;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/Configuration.java

        /**
         * @return timeout for persistent handles in milliseconds
         */
        long getPersistentHandleTimeout();
    
        /**
         * Gets the witness heartbeat timeout in milliseconds.
         *
         * @return the heartbeat timeout
         */
        long getWitnessHeartbeatTimeout();
    
        /**
         * Gets the witness registration timeout in milliseconds.
         *
         * @return the registration timeout
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

        /**
         * Flag indicating whether SMB Witness protocol should be used for failover
         */
        protected boolean useWitness = false; // Disabled by default
        /**
         * Timeout in milliseconds for witness heartbeat messages
         */
        protected long witnessHeartbeatTimeout = 120000; // 2 minutes
        /**
         * Timeout in milliseconds for witness registration
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  10. src/main/resources/fess_config.properties

    search_engine.http.ssl.certificate_authorities=
    # Username for authenticating to the search engine.
    search_engine.username=
    # Password for authenticating to the search engine.
    search_engine.password=
    # Interval (ms) for heartbeat checks to the search engine.
    search_engine.heartbeat_interval=10000
    
    # Cipher algorithm used for encryption.
    app.cipher.algorism=aes
    # Secret key for encryption (change this value for production).
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 54.8K bytes
    - Click Count (0)
Back to Top