public abstract class DynamicEndpointService extends Object implements Runnable
MonitoredEndpoint. This service is responsible
for everything about the monitoring of the remote endpoint.| Modifier and Type | Field and Description |
|---|---|
protected ServiceStatus |
status |
| Constructor and Description |
|---|
DynamicEndpointService(String feedId,
MonitoredEndpoint<MonitorServiceConfiguration.DynamicEndpointConfiguration> endpoint,
HawkularWildFlyAgentContext hawkularStorage,
Collection<Name> metrics) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFeedId() |
HawkularWildFlyAgentContext |
getHawkularStorage() |
Collection<Name> |
getMetrics()
This returns a collection of metric names.
|
MonitoredEndpoint<MonitorServiceConfiguration.DynamicEndpointConfiguration> |
getMonitoredEndpoint() |
int |
hashCode() |
abstract void |
run()
This is called when the dynamic protocol service is due to perform its work.
|
void |
start() |
void |
stop() |
String |
toString() |
protected volatile ServiceStatus status
public DynamicEndpointService(String feedId, MonitoredEndpoint<MonitorServiceConfiguration.DynamicEndpointConfiguration> endpoint, HawkularWildFlyAgentContext hawkularStorage, Collection<Name> metrics)
public String getFeedId()
public MonitoredEndpoint<MonitorServiceConfiguration.DynamicEndpointConfiguration> getMonitoredEndpoint()
public HawkularWildFlyAgentContext getHawkularStorage()
public Collection<Name> getMetrics()
public void start()
public void stop()
public abstract void run()
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.