Openwings API Documentation (v1.1)

net.openwings.availability
Interface HeartbeatListener


public interface HeartbeatListener

This interface describes a listener that may be registered with the AvailabilityMBean to receive periodic heartbeat events. Heartbeats are events that are used to monitor critical components on a frequent basis. A missed heartbeat indicates an exception condition.


Method Summary
 void heartbeat()
          This method is used to deliver the heartbeat.
 

Method Detail

heartbeat

public void heartbeat()
               throws java.rmi.RemoteException
This method is used to deliver the heartbeat. It is called by the AvailabilityMBean implementation at the interval requested in the AvailabilityMBean.addHeartbeatListener() method.

Throws:
java.rmi.RemoteException - in the case of a network error.

Openwings API Documentation (v1.1)