Rio Project 4.2 API Documentation
org.rioproject.fdh
Class HeartbeatClient
java.lang.Object
org.rioproject.fdh.HeartbeatClient
public class HeartbeatClient
- extends Object
The heartbeat client that produces heartbeat broadcasts
- Author:
- Dennis Reedy
|
Constructor Summary |
HeartbeatClient(Uuid uuid)
Create a HeartbeatClient with the uuid for the Service |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEARTBEAT_SERVER_KEY
public static final String HEARTBEAT_SERVER_KEY
- See Also:
- Constant Field Values
HEARTBEAT_PERIOD_KEY
public static final String HEARTBEAT_PERIOD_KEY
- See Also:
- Constant Field Values
HeartbeatClient
public HeartbeatClient(Uuid uuid)
- Create a HeartbeatClient with the uuid for the Service
- Parameters:
uuid - The unique identifier of the service
terminate
public void terminate()
- Stop sending heartbeats to all heartbeat server instances
addHeartbeatServer
public void addHeartbeatServer(String[] configArgs)
throws ConfigurationException
- Start sending heartbeats to another server
- Parameters:
configArgs - Configuration entries
- Throws:
ConfigurationException - if the configuration cannot be read
main
public static void main(String[] args)
Copyright © 2006-2011 Rio Project. All Rights Reserved.