hector-client/hector

clock should get in a static way in HConnectionManager

Opened this issue · 2 comments

change
clock = cassandraHostConfigurator.getClockResolution();
to
clock = CassandraHostConfigurator.getClockResolution();

If you have two clusters and want to have two cassandraHostsConfigurators with different time resolution how would that work?

We may wonder why we would want two clocks but I think keeping it non static seems more flexible.

Change it to a non static way may be a good idea.
BTW, I think the best way we using hector is one instance for one cluster.