public class PingRequestDTO extends Object implements RpcRequest
| Constructor and Description |
|---|
PingRequestDTO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
InetAddress |
getInetAddress() |
String |
getLocation()
Used to route the request to the appropriate location.
|
int |
getPacketSize() |
int |
getRetries() |
long |
getTimeout() |
Long |
getTimeToLiveMs()
When using JMS, the request will fail if no response was received in this
many milliseconds.
|
int |
hashCode() |
void |
setInetAddress(InetAddress inetAddress) |
void |
setLocation(String location) |
void |
setPacketSize(int packetSize) |
void |
setRetries(int retries) |
void |
setTimeout(long timeoutInMs) |
PingRequest |
toPingRequest() |
public String getLocation()
RpcRequestgetLocation in interface RpcRequestpublic Long getTimeToLiveMs()
RpcRequestgetTimeToLiveMs in interface RpcRequestpublic void setLocation(String location)
public void setPacketSize(int packetSize)
public void setRetries(int retries)
public void setTimeout(long timeoutInMs)
public void setInetAddress(InetAddress inetAddress)
public InetAddress getInetAddress()
public int getRetries()
public long getTimeout()
public int getPacketSize()
public PingRequest toPingRequest()
Copyright © 2020. All rights reserved.