add equals method and hashCode method to LoadBalancerImpl class.