public class PollerRequestDTO extends Object implements RpcRequest, PollerRequest
| Constructor and Description |
|---|
PollerRequestDTO() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String key,
Object value) |
void |
addAttributes(Map<String,Object> attributes) |
boolean |
equals(Object other) |
InetAddress |
getAddress()
Returns the
InetAddress associated with the service |
List<PollerAttributeDTO> |
getAttributes() |
String |
getClassName() |
String |
getIpAddr()
Returns the ipAddr string associated with this monitored service.
|
String |
getLocation()
Used to route the request to the appropriate location.
|
Map<String,Object> |
getMonitorParameters() |
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 |
getNodeLocation()
Returns the name of the location of the node that this service is associated with.
|
String |
getServiceName() |
String |
getSvcName()
Returns the svcName associated with this monitored service.
|
Long |
getTimeToLiveMs()
When using JMS, the request will fail if no response was received in this
many milliseconds.
|
int |
hashCode() |
void |
setAddress(InetAddress address) |
void |
setAttributes(List<PollerAttributeDTO> attributes) |
void |
setClassName(String className) |
void |
setLocation(String location) |
void |
setNodeId(int nodeId) |
void |
setNodeLabel(String nodeLabel) |
void |
setNodeLocation(String nodeLocation) |
void |
setServiceName(String serviceName) |
void |
setTimeToLiveMs(Long timeToLiveMs) |
public String getLocation()
RpcRequestgetLocation in interface RpcRequestpublic void setLocation(String location)
public String getClassName()
public void setClassName(String className)
public String getServiceName()
public String getSvcName()
MonitoredServicegetSvcName in interface MonitoredServicepublic void setServiceName(String serviceName)
public InetAddress getAddress()
MonitoredServiceInetAddress associated with the servicegetAddress in interface MonitoredServiceInetAddresspublic void setAddress(InetAddress address)
public String getIpAddr()
MonitoredServicegetIpAddr in interface MonitoredServicepublic int getNodeId()
MonitoredServicegetNodeId in interface MonitoredServicepublic void setNodeId(int nodeId)
public String getNodeLabel()
MonitoredServicegetNodeLabel in interface MonitoredServicepublic void setNodeLabel(String nodeLabel)
public String getNodeLocation()
MonitoredServicegetNodeLocation in interface MonitoredServicepublic void setNodeLocation(String nodeLocation)
public List<PollerAttributeDTO> getAttributes()
public void setAttributes(List<PollerAttributeDTO> attributes)
public Map<String,Object> getMonitorParameters()
getMonitorParameters in interface PollerRequestServiceMonitor.public void setTimeToLiveMs(Long timeToLiveMs)
public Long getTimeToLiveMs()
RpcRequestgetTimeToLiveMs in interface RpcRequestCopyright © 2020. All rights reserved.