mx4j.tools.heartbeat

Interface HeartBeatMBean

Known Implementing Classes:
HeartBeat

public interface HeartBeatMBean

Interface to be implemented by all modules that want to support heartbeat mechanism.

Version:
$Revision: 1.5 $

Field Summary

static int
DEFAULT_PERIOD
static int
DEFAULT_RETRIES
HeartBeat source will retry calling listener a few times and then will declare listener down
static String
HEARTBEAT_OBJECT_NAME
static String
IIOP_TYPE
static String
PERIOD_PROP
static String
RMI_TYPE
static String
TRIES_PROP

Method Summary

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.

Field Details

DEFAULT_PERIOD

public static final int DEFAULT_PERIOD

Field Value:
10


DEFAULT_RETRIES

public static final int DEFAULT_RETRIES
HeartBeat source will retry calling listener a few times and then will declare listener down

Field Value:
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

Method Details

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.