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 CompletableFuture<PingSummary>
execute()
PingRequestBuilder
withInetAddress(InetAddress inetAddress)
PingRequestBuilder
withLocation(String location)
PingRequestBuilder
withNumberOfRequests(int numberOfRequests)
PingRequestBuilder
withPacketSize(int packageSize)
PingRequestBuilder
withProgressCallback(PingRequestBuilder.Callback callback)
PingRequestBuilder
withRetries(int retries)
PingRequestBuilder
withSystemId(String systemId)
PingRequestBuilder
withTimeout(long timeout, TimeUnit unit)
-
-
-
Method Detail
-
withTimeout
PingRequestBuilder withTimeout(long timeout, TimeUnit unit)
-
withPacketSize
PingRequestBuilder withPacketSize(int packageSize)
-
withRetries
PingRequestBuilder withRetries(int retries)
-
withInetAddress
PingRequestBuilder withInetAddress(InetAddress inetAddress)
-
withLocation
PingRequestBuilder withLocation(String location)
-
withSystemId
PingRequestBuilder withSystemId(String systemId)
-
withNumberOfRequests
PingRequestBuilder withNumberOfRequests(int numberOfRequests)
-
withProgressCallback
PingRequestBuilder withProgressCallback(PingRequestBuilder.Callback callback)
-
execute
CompletableFuture<PingSummary> execute()
-
-