mx4j.tools.heartbeat
Interface HeartBeatMBean
- All Known Implementing Classes:
- HeartBeat
- public interface HeartBeatMBean
Interface to be implemented by all modules that want to support
heartbeat mechanism.
- Version:
- $Revision: 1.3 $
- Author:
- Michael Gorelik
Method Summary |
void |
addHeartBeatListener(java.lang.String heartBeatListenerName,
java.lang.Object connectorType,
java.lang.Object listenerAddress)
Adds the specified heartbeat listener to receive heartbeat notifications from
this HeartBeatMBean. |
void |
removeHeartBeatListener(java.lang.String heartBeatListenerName)
Removes the specified heartbeat listener so that it no longer receives
heartbeat notifications from this HeartBeatMBean. |
HEARTBEAT_OBJECT_NAME
public static final java.lang.String HEARTBEAT_OBJECT_NAME
RMI_TYPE
public static final java.lang.String RMI_TYPE
IIOP_TYPE
public static final java.lang.String IIOP_TYPE
TRIES_PROP
public static final java.lang.String TRIES_PROP
PERIOD_PROP
public static final java.lang.String PERIOD_PROP
DEFAULT_PERIOD
public static final int DEFAULT_PERIOD
DEFAULT_RETRIES
public static final int DEFAULT_RETRIES
- HeartBeat source will retry calling listener a few times and then will
declare listener down
addHeartBeatListener
public void addHeartBeatListener(java.lang.String heartBeatListenerName,
java.lang.Object connectorType,
java.lang.Object listenerAddress)
- Adds the specified heartbeat listener to receive heartbeat notifications from
this HeartBeatMBean.
removeHeartBeatListener
public void removeHeartBeatListener(java.lang.String heartBeatListenerName)
- Removes the specified heartbeat listener so that it no longer receives
heartbeat notifications from this HeartBeatMBean.
Copyright © 2001-2002 MX4J Team. All Rights Reserved.