Class HeartbeatMonitor


  • public class HeartbeatMonitor
    extends Object
    Helper class for listeners to the HeartbeatEvent, providing a convenient way to determine if there has been a change in state.
    Author:
    Dave Syer
    • Constructor Detail

      • HeartbeatMonitor

        public HeartbeatMonitor()
    • Method Detail

      • update

        public boolean update​(Object value)
        Parameters:
        value - The latest heartbeat.
        Returns:
        True if the state changed.