public RoundRobinRedisPool(final List<Redis> redisServers){
  Preconditions.checkNotNull(redisServers);
  Preconditions.checkArgument(redisServers.size() > 0);
  this.redisServers=redisServers;
  this.redisPoolIterator=redisServers.iterator();
}

public RoundRobinRedisPool ( final List < Redis > redisServers ) { Preconditions . checkNotNull ( redisServers ) ; Preconditions . checkArgument ( redisServers . size ( ) > 0 ) ; this . redisServers = redisServers ; this . redisPoolIterator = redisServers . iterator ( ) ; }
creates a new round robin redis pool from the given list of servers .
