Class PingRequest
- java.lang.Object
-
- org.opennms.features.topology.netutils.internal.ping.PingRequest
-
public class PingRequest extends Object
-
-
Constructor Summary
Constructors Constructor Description PingRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIpAddress()
String
getLocation()
int
getNumberRequests()
int
getPacketSize()
int
getRetries()
long
getTimeout()
void
setIpAddress(String ipAddress)
void
setLocation(String location)
void
setNumberRequests(int numberRequests)
void
setPacketSize(int packetSize)
void
setRetries(int retries)
void
setTimeout(long timeout)
PingRequest
withIpAddress(String ipAddress)
PingRequest
withLocation(String location)
PingRequest
withNumberRequests(int numberRequests)
PingRequest
withPackageSize(int packageSize)
PingRequest
withRetries(int retries)
PingRequest
withTimeout(long timeout, TimeUnit unit)
-
-
-
Method Detail
-
withTimeout
public PingRequest withTimeout(long timeout, TimeUnit unit)
-
withPackageSize
public PingRequest withPackageSize(int packageSize)
-
withRetries
public PingRequest withRetries(int retries)
-
withIpAddress
public PingRequest withIpAddress(String ipAddress)
-
withNumberRequests
public PingRequest withNumberRequests(int numberRequests)
-
withLocation
public PingRequest withLocation(String location)
-
getTimeout
public long getTimeout()
-
getPacketSize
public int getPacketSize()
-
getRetries
public int getRetries()
-
getIpAddress
public String getIpAddress()
-
getNumberRequests
public int getNumberRequests()
-
setTimeout
public void setTimeout(long timeout)
-
setPacketSize
public void setPacketSize(int packetSize)
-
setRetries
public void setRetries(int retries)
-
setIpAddress
public void setIpAddress(String ipAddress)
-
setNumberRequests
public void setNumberRequests(int numberRequests)
-
getLocation
public String getLocation()
-
setLocation
public void setLocation(String location)
-
-