public class PingSweepRequestDTO extends Object implements RpcRequest
TAG_CLASS_NAME, TAG_DESCRIPTION, TAG_IP_ADDRESS, TAG_NODE_ID, TAG_NODE_LABEL| Constructor and Description |
|---|
PingSweepRequestDTO() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIpRange(IPRangeDTO range) |
void |
addTracingInfo(String key,
String value) |
boolean |
equals(Object obj) |
List<IPRangeDTO> |
getIpRanges() |
String |
getLocation()
Used to route the request to the appropriate location.
|
int |
getPacketSize() |
double |
getPacketsPerSecond() |
io.opentracing.Span |
getSpan() |
String |
getSystemId()
Used to route the request to a particular system at the given location.
|
Long |
getTimeToLiveMs()
When using JMS, the request will fail if no response was received in this
many milliseconds.
|
Map<String,String> |
getTracingInfo()
RPC clients expose tracing info as tags there by giving more context to each RPC trace.
|
int |
hashCode() |
void |
setIpRanges(List<IPRangeDTO> ipRanges) |
void |
setLocation(String location) |
void |
setPacketSize(int packetSize) |
void |
setPacketsPerSecond(double packetsPerSecond) |
void |
setSystemId(String systemId) |
public String getLocation()
RpcRequestgetLocation in interface RpcRequestpublic void setSystemId(String systemId)
public String getSystemId()
RpcRequestgetSystemId in interface RpcRequestpublic void setLocation(String location)
public int getPacketSize()
public void setPacketSize(int packetSize)
public double getPacketsPerSecond()
public void setPacketsPerSecond(double packetsPerSecond)
public List<IPRangeDTO> getIpRanges()
public void addIpRange(IPRangeDTO range)
public void setIpRanges(List<IPRangeDTO> ipRanges)
public Map<String,String> getTracingInfo()
RpcRequestgetTracingInfo in interface RpcRequestpublic io.opentracing.Span getSpan()
getSpan in interface RpcRequestpublic Long getTimeToLiveMs()
RpcRequestgetTimeToLiveMs in interface RpcRequestCopyright © 2022. All rights reserved.