org.apache.openejb.server.discovery
Class Tracker
java.lang.Object
org.apache.openejb.server.discovery.Tracker
public class Tracker
- extends Object
- Version:
- $Rev$ $Date$
Constructor Summary |
Tracker(String group,
long heartRate,
int maxMissedHeartbeats,
long reconnectDelay,
long maxReconnectDelay,
int maxReconnectAttempts,
long exponentialBackoff)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tracker
public Tracker(String group,
long heartRate,
int maxMissedHeartbeats,
long reconnectDelay,
long maxReconnectDelay,
int maxReconnectAttempts,
long exponentialBackoff)
getHeartRate
public long getHeartRate()
setDiscoveryListener
public void setDiscoveryListener(DiscoveryListener discoveryListener)
getRegisteredServices
public Set<String> getRegisteredServices()
registerService
public void registerService(URI serviceUri)
throws IOException
- Throws:
IOException
unregisterService
public void unregisterService(URI serviceUri)
throws IOException
- Throws:
IOException
processData
public void processData(String uriString)
checkServices
public void checkServices()
reportFailed
public void reportFailed(URI serviceUri)
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.