- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getLastHeartbeat (0.06 sec)
-
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
long initialTime = registration.getLastHeartbeat(); Thread.sleep(50); // Ensure sufficient time difference 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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
} // Getters and setters /** * Gets the last heartbeat timestamp. * * @return the last heartbeat timestamp in milliseconds */ public long getLastHeartbeat() { return lastHeartbeat; } /** * Gets the registration ID. * * @return the registration ID */ public String getRegistrationId() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K bytes - Viewed (0)