public interface HeartBeat
| Modifier and Type | Method and Description |
|---|---|
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
|
void start()
throws java.io.IOException
java.io.IOException - If there are problems contacting the serverstop()void stop() throws java.io.IOException
java.io.IOException - If there are problems contacting the serverstart()long getPulsePeriod()
int getMaxRetries()