Package org.opennms.netmgt.icmp.proxy
Class PingSweepRequestBuilderImpl
- java.lang.Object
-
- org.opennms.netmgt.icmp.proxy.PingSweepRequestBuilderImpl
-
- All Implemented Interfaces:
PingSweepRequestBuilder
public class PingSweepRequestBuilderImpl extends Object implements PingSweepRequestBuilder
-
-
Constructor Summary
Constructors Constructor Description PingSweepRequestBuilderImpl(RpcClient<PingSweepRequestDTO,PingSweepResponseDTO> client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<PingSweepSummary>
execute()
RpcClient<PingSweepRequestDTO,PingSweepResponseDTO>
getClient()
PingSweepRequestBuilder
withLocation(String location)
PingSweepRequestBuilder
withPacketSize(int packetSize)
PingSweepRequestBuilder
withPacketsPerSecond(double packetsPerSecond)
PingSweepRequestBuilder
withRange(InetAddress begin, InetAddress end)
PingSweepRequestBuilder
withRange(InetAddress begin, InetAddress end, int retries, long timeout, TimeUnit timeoutUnit)
PingSweepRequestBuilder
withSystemId(String systemId)
-
-
-
Constructor Detail
-
PingSweepRequestBuilderImpl
public PingSweepRequestBuilderImpl(RpcClient<PingSweepRequestDTO,PingSweepResponseDTO> client)
-
-
Method Detail
-
withPacketSize
public PingSweepRequestBuilder withPacketSize(int packetSize)
- Specified by:
withPacketSize
in interfacePingSweepRequestBuilder
-
withPacketsPerSecond
public PingSweepRequestBuilder withPacketsPerSecond(double packetsPerSecond)
- Specified by:
withPacketsPerSecond
in interfacePingSweepRequestBuilder
-
withLocation
public PingSweepRequestBuilder withLocation(String location)
- Specified by:
withLocation
in interfacePingSweepRequestBuilder
-
withSystemId
public PingSweepRequestBuilder withSystemId(String systemId)
- Specified by:
withSystemId
in interfacePingSweepRequestBuilder
-
withRange
public PingSweepRequestBuilder withRange(InetAddress begin, InetAddress end)
- Specified by:
withRange
in interfacePingSweepRequestBuilder
-
withRange
public PingSweepRequestBuilder withRange(InetAddress begin, InetAddress end, int retries, long timeout, TimeUnit timeoutUnit)
- Specified by:
withRange
in interfacePingSweepRequestBuilder
-
execute
public CompletableFuture<PingSweepSummary> execute()
- Specified by:
execute
in interfacePingSweepRequestBuilder
-
getClient
public RpcClient<PingSweepRequestDTO,PingSweepResponseDTO> getClient()
-
-