org.apache.openejb.server.discovery
Class Tracker
java.lang.Object
org.apache.openejb.server.discovery.Tracker
public class Tracker
- extends java.lang.Object
- Version:
- $Rev$ $Date$
Constructor Summary |
Tracker(java.lang.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(java.lang.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 java.util.Set<java.lang.String> getRegisteredServices()
registerService
public void registerService(java.net.URI serviceUri)
throws java.io.IOException
- Throws:
java.io.IOException
unregisterService
public void unregisterService(java.net.URI serviceUri)
throws java.io.IOException
- Throws:
java.io.IOException
processData
public void processData(java.lang.String uriString)
checkServices
public void checkServices()
reportFailed
public void reportFailed(java.net.URI serviceUri)
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.