Re: Test on load balancing policy with datastax java driver

2015-10-04 Thread Jun Wu
Hello Olivier, Thank you so much for your reply. However, the new TokenAwarePolicy wrapped with DCAwareRoundRobin definitely works. Also wrapping with RoundRobin policy works. However, when I use LatencyAwarePolicy wrapping with DCAwareRoundRobin and RoundRobin. It shows error. Exception i

Re: Test on load balancing policy with datastax java driver

2015-10-02 Thread Olivier Michallat
Hi, I'm not sure if I understand your question correctly, but existing policies can be combined by chaining them, as in `new TokenAwarePolicy(new DCAwareRoundRobinPolicy())`. -- Olivier Michallat Driver & tools engineer, DataStax On Tue, Sep 22, 2015 at 7:15 PM, Jun Wu wrote: > Dear All, > >