public static class MonitorTester.SimpleMonitoredService extends Object implements MonitoredService
| Constructor and Description |
|---|
SimpleMonitoredService(InetAddress ipAddress,
int nodeId,
String nodeLabel,
String svcName) |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getAddress()
Returns the
InetAddress associated with the service |
String |
getIpAddr()
Returns the ipAddr string associated with this monitored service.
|
NetworkInterface<InetAddress> |
getNetInterface()
Returns the
NetworkInterface object for this service. |
int |
getNodeId()
Returns the nodeId of the node that this service is associated with.
|
String |
getNodeLabel()
Returns the label of the node that this service is associated with.
|
String |
getSvcName()
Returns the svcName associated with this monitored service.
|
String |
getSvcUrl()
Returns a URL representation of the service to monitor and its parameters.
|
public SimpleMonitoredService(InetAddress ipAddress, int nodeId, String nodeLabel, String svcName)
public String getSvcUrl()
MonitoredServicegetSvcUrl in interface MonitoredServicepublic String getSvcName()
MonitoredServicegetSvcName in interface MonitoredServicepublic String getIpAddr()
MonitoredServicegetIpAddr in interface MonitoredServicepublic int getNodeId()
MonitoredServicegetNodeId in interface MonitoredServicepublic String getNodeLabel()
MonitoredServicegetNodeLabel in interface MonitoredServicepublic NetworkInterface<InetAddress> getNetInterface()
MonitoredServiceNetworkInterface object for this service. This NetworkInterface object is
guaranteed to be the same each time init or poll is called.getNetInterface in interface MonitoredServiceNetworkInterfacepublic InetAddress getAddress()
MonitoredServiceInetAddress associated with the servicegetAddress in interface MonitoredServiceInetAddressCopyright © 2015. All rights reserved.