Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for heartBeat (0.09 seconds)

  1. 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)
  2. 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)
  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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            String regId = mockService.registerWitness("\\\\server\\share", "192.168.1.100", 1);
    
            // Test successful heartbeat
            assertTrue(mockService.processHeartbeat(regId, 1));
            assertTrue(mockService.processHeartbeat(regId, 2));
    
            // Test heartbeat for non-existent registration
            assertFalse(mockService.processHeartbeat("non-existent", 1));
    
            // Clean up
    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. 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)
  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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top