public class RandomBalancer extends AbstractBalancer(Code)
Balancer implementation whose
RandomBalancer.next() implementation returns a random database.
The probability that a given database will be returned is: weight / total-weight.
author: Paul Ferraro< Parameters: D - > either java.sql.Driver or javax.sql.DataSource