final PingSummary pingSummary = m_locationAwarePingClient.ping(ipAddress) .withLocation(criticalPath.getLocationName()) .withTimeout(timeout, TimeUnit.MILLISECONDS)
System.out.printf("\tPackets per second: %f\n", m_packetsPerSecond); final CompletableFuture<PingSweepSummary> future = locationAwarePingClient.sweep() .withLocation(m_location) .withSystemId(m_systemId)
final CompletableFuture<PingSummary> future = locationAwarePingClient.ping(byName) .withLocation(m_location) .withSystemId(m_systemId)
System.out.printf("\tPackets per second: %f\n", m_packetsPerSecond); final CompletableFuture<PingSweepSummary> future = locationAwarePingClient.sweep() .withLocation(m_location) .withSystemId(m_systemId)
final CompletableFuture<PingSummary> future = locationAwarePingClient.ping(byName) .withLocation(m_location) .withSystemId(m_systemId)
final PingSweepRequestBuilder builder = locationAwarePingClient.sweep() .withLocation(job.getLocation()) .withPacketsPerSecond(job.getPacketsPerSecond());
pingFuture = pingClient.ping(inetAddress) .withRetries(pingRequest.getRetries()) .withPacketSize(pingRequest.getPacketSize())
final PingSweepRequestBuilder builder = locationAwarePingClient.sweep() .withLocation(job.getLocation()) .withPacketsPerSecond(job.getPacketsPerSecond());
pingFuture = pingClient.ping(inetAddress) .withRetries(pingRequest.getRetries()) .withPacketSize(pingRequest.getPacketSize())