mx4j.remote
Interface HeartBeat
- AbstractHeartBeat, HTTPHeartBeat, RMIHeartBeat
public interface HeartBeat
A continuous pulse from client to server that gives the information that
the connection is alive and the server is up.
Version:
int | getMaxRetries()- Returns the maximum number of retries this heart beat attempts after
a first connection failure before declaring the connection or the server
as dead.
|
long | getPulsePeriod()- Returns the period of time in milliseconds between two heart beats
|
void | start()- Starts the heart beat
|
void | stop()- Stops the heart beat
|
start
public void start()
throws IOException Starts the heart beat
stop()
stop
public void stop()
throws IOException Stops the heart beat
start()
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.