- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for heartBeat (0.04 sec)
-
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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
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: {}",
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
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()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.9K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
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 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0)