Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for heartbeat (0.05 seconds)

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

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

        }
    
        /**
         * Gets the heartbeat interval recommended by the server (in milliseconds).
         * The client can use this to adjust the heartbeat frequency.
         *
         * @return the heartbeat interval in milliseconds
         */
        public long getHeartbeatInterval() {
            return heartbeatInterval;
        }
    
        /**
         * Sets the heartbeat interval.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5.8K 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                    logger.warn("Failed to send heartbeat: status={}", response.getHttpStatusCode());
                }
            } catch (final Exception e) {
                logger.debug("Failed to send heartbeat.", e);
            }
        }
    
        /**
         * Removes the heartbeat document for this instance from OpenSearch.
         */
        protected void removeHeartbeat() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/witness/MockWitnessService.java

            } catch (IOException e) {
                return "ncacn_ip_tcp:127.0.0.1[135]";
            }
        }
    
        /**
         * Simulate heartbeat processing
         *
         * @param registrationId the registration ID
         * @param sequenceNumber the sequence number
         * @return true if heartbeat was successful
         */
        public boolean processHeartbeat(String registrationId, long sequenceNumber) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. docs/smb3-features/06-witness-protocol-design.md

                WitnessHeartbeatResponse response = rpcClient.heartbeat(request);
                
                if (response.isSuccess()) {
                    registration.updateHeartbeat();
                } else {
                    log.warn("Witness heartbeat failed for: {}", registration.getRegistrationId());
                }
                
            } catch (Exception e) {
                log.debug("Heartbeat error for registration: {}", 
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            registration.updateHeartbeat();
    
            // After update, should not be expired with long timeout
            assertFalse(registration.isExpired(60000));
    
            // Verify heartbeat was actually updated
            assertTrue(registration.getLastHeartbeat() > initialTime);
        }
    
        @Test
        void testExpiration() throws InterruptedException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
Back to Top