mx4j.tools.heartbeat
Interface HeartBeatListenerControl
- HeartBeatListener
public interface HeartBeatListenerControl
Interface to be implemented by HeartBeatListener. Adds local interface
to be used by clients monitoring status of communication.
Version:
void | registerObserver(RemoteMBeanServer connector, Object connectorType, Object address, String sourceCanonName, javax.management.NotificationListener observer) - Add listener to a remote heartbeat source and register application to
receive heart beat failure notification from HeartBeatListener.
|
void | unregisterObserver(String sourceCanonName, javax.management.NotificationListener listener) - Removes the specified heartbeat observer.
|
LOST_HEARTBEAT
public static final String LOST_HEARTBEAT
registerObserver
public void registerObserver(RemoteMBeanServer connector,
Object connectorType,
Object address,
String sourceCanonName,
javax.management.NotificationListener observer)
throws javax.management.MalformedObjectNameException,
javax.management.InstanceNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException,
IOException
Add listener to a remote heartbeat source and register application to
receive heart beat failure notification from HeartBeatListener.
unregisterObserver
public void unregisterObserver(String sourceCanonName,
javax.management.NotificationListener listener)
Removes the specified heartbeat observer.
Copyright © 2001-2003 MX4J Team. All Rights Reserved.