isn't better to use something like?
private ReadController nextController() {
return rrControllers[((roundRobinCounter++) & 0xFFFFFFFF)%
rrControllers.length];
}
--------
> RoundRobinSelectorHandler#nextController()
> ---
> private ReadController nextController() {
> int index = roundRobinCounter++ % rrControllers.length;
> if( roundRobinCounter < 0 )
> roundRobinCounter = 0;
> return rrControllers[index];
> }
> ---
>
>
> Thanks.
>
> --
> Bongjae Chang