public class RMIHeartBeat extends AbstractHeartBeat
Constructor and Description |
---|
RMIHeartBeat(javax.management.remote.rmi.RMIConnection connection,
ConnectionNotificationEmitter emitter,
java.util.Map environment) |
Modifier and Type | Method and Description |
---|---|
protected void |
pulse()
Subclasses will implement this method using protocol specific connections.
|
getMaxRetries, getPulsePeriod, run, sendConnectionNotificationFailed, start, stop
public RMIHeartBeat(javax.management.remote.rmi.RMIConnection connection, ConnectionNotificationEmitter emitter, java.util.Map environment)
protected void pulse() throws java.io.IOException
AbstractHeartBeat
MBeanServerConnection.getDefaultDomain()
is used
to "ping" the server side.pulse
in class AbstractHeartBeat
java.io.IOException