public class Tracker extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Tracker.Builder |
class |
Tracker.Service |
| Constructor and Description |
|---|
Tracker(String group,
long heartRate,
int maxMissedHeartbeats,
long reconnectDelay,
long maxReconnectDelay,
int maxReconnectAttempts,
long exponentialBackoff,
org.apache.openejb.util.Logger log,
boolean debug) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkServices() |
long |
getHeartRate() |
int |
getMaxMissedHeartbeats() |
Set<String> |
getRegisteredServices() |
Set<String> |
getServicesDiscovered() |
Set<String> |
getServicesRegistered() |
void |
processData(String uriString) |
void |
registerService(URI serviceUri) |
void |
reportFailed(URI serviceUri) |
void |
setDiscoveryListener(DiscoveryListener discoveryListener) |
String |
toString() |
void |
unregisterService(URI serviceUri) |
public Tracker(String group, long heartRate, int maxMissedHeartbeats, long reconnectDelay, long maxReconnectDelay, int maxReconnectAttempts, long exponentialBackoff, org.apache.openejb.util.Logger log, boolean debug)
public long getHeartRate()
public int getMaxMissedHeartbeats()
public void setDiscoveryListener(DiscoveryListener discoveryListener)
public void registerService(URI serviceUri) throws IOException
IOExceptionpublic void unregisterService(URI serviceUri) throws IOException
IOExceptionpublic void processData(String uriString)
public void checkServices()
public void reportFailed(URI serviceUri)
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.