Package org.opennms.netmgt.icmp.proxy
Interface PingRequestBuilder
-
- All Known Implementing Classes:
PingRequestBuilderImpl
public interface PingRequestBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PingRequestBuilder.Callback
Can be used to show progress.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<PingSummary>
execute()
PingRequestBuilder
withInetAddress(java.net.InetAddress inetAddress)
PingRequestBuilder
withLocation(java.lang.String location)
PingRequestBuilder
withNumberOfRequests(int numberOfRequests)
PingRequestBuilder
withPacketSize(int packageSize)
PingRequestBuilder
withProgressCallback(PingRequestBuilder.Callback callback)
PingRequestBuilder
withRetries(int retries)
PingRequestBuilder
withSystemId(java.lang.String systemId)
PingRequestBuilder
withTimeout(long timeout, java.util.concurrent.TimeUnit unit)
-
-
-
Method Detail
-
withTimeout
PingRequestBuilder withTimeout(long timeout, java.util.concurrent.TimeUnit unit)
-
withPacketSize
PingRequestBuilder withPacketSize(int packageSize)
-
withRetries
PingRequestBuilder withRetries(int retries)
-
withInetAddress
PingRequestBuilder withInetAddress(java.net.InetAddress inetAddress)
-
withLocation
PingRequestBuilder withLocation(java.lang.String location)
-
withSystemId
PingRequestBuilder withSystemId(java.lang.String systemId)
-
withNumberOfRequests
PingRequestBuilder withNumberOfRequests(int numberOfRequests)
-
withProgressCallback
PingRequestBuilder withProgressCallback(PingRequestBuilder.Callback callback)
-
execute
java.util.concurrent.CompletableFuture<PingSummary> execute()
-
-