Class AbstractNetworkTopologySnitch

    • Constructor Detail

      • AbstractNetworkTopologySnitch

        public AbstractNetworkTopologySnitch()
    • Method Detail

      • getRack

        public abstract java.lang.String getRack​(InetAddressAndPort endpoint)
        Return the rack for which an endpoint resides in
        Parameters:
        endpoint - a specified endpoint
        Returns:
        string of rack
      • getDatacenter

        public abstract java.lang.String getDatacenter​(InetAddressAndPort endpoint)
        Return the data center for which an endpoint resides in
        Parameters:
        endpoint - a specified endpoint
        Returns:
        string of data center