type HostCache interface {
// GetHost returns the hostname of a given node GetHost(node string) string// GetNodes returns all the nodes running on a given host GetNodes(host string) []string
}
HostCache keeps the node to host relationship, and supports host and node
query.