Interface EndpointSnitchInfoMBean

All Known Implementing Classes:
EndpointSnitchInfo

public interface EndpointSnitchInfoMBean
MBean exposing standard Snitch info
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides the Datacenter name depending on the respective snitch used for this node
    Provides the Datacenter name depending on the respective snitch used, given the hostname/ip
    Provides the Rack name depending on the respective snitch used for this node
    Provides the Rack name depending on the respective snitch used, given the host name/ip
    Provides the snitch name of the cluster
  • Method Details

    • getRack

      String getRack(String host) throws UnknownHostException
      Provides the Rack name depending on the respective snitch used, given the host name/ip
      Parameters:
      host -
      Throws:
      UnknownHostException
    • getDatacenter

      String getDatacenter(String host) throws UnknownHostException
      Provides the Datacenter name depending on the respective snitch used, given the hostname/ip
      Parameters:
      host -
      Throws:
      UnknownHostException
    • getRack

      String getRack()
      Provides the Rack name depending on the respective snitch used for this node
    • getDatacenter

      String getDatacenter()
      Provides the Datacenter name depending on the respective snitch used for this node
    • getSnitchName

      String getSnitchName()
      Provides the snitch name of the cluster
      Returns:
      Snitch name