Interface ConnectivityCheck

All Superinterfaces:
Executable<ConnectivityCheck>, HasParent<NetworkWatcher>, Indexable

public interface ConnectivityCheck extends Executable<ConnectivityCheck>, HasParent<NetworkWatcher>
A client-side representation allowing user to verify the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.
  • Method Details

    • hops

      Gets list of hops between the source and the destination.
      Returns:
      list of hops between the source and the destination
    • connectionStatus

      ConnectionStatus connectionStatus()
      Gets the connection status.
      Returns:
      the connection status
    • avgLatencyInMs

      int avgLatencyInMs()
      Gets average latency in milliseconds.
      Returns:
      average latency in milliseconds
    • minLatencyInMs

      int minLatencyInMs()
      Gets minimum latency in milliseconds.
      Returns:
      minimum latency in milliseconds
    • maxLatencyInMs

      int maxLatencyInMs()
      Gets maximum latency in milliseconds.
      Returns:
      maximum latency in milliseconds
    • probesSent

      int probesSent()
      Gets total number of probes sent.
      Returns:
      total number of probes sent
    • probesFailed

      int probesFailed()
      Gets number of failed probes.
      Returns:
      number of failed probes