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