Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clock should get in a static way in HConnectionManager #629

Open
dereek opened this issue Jul 22, 2013 · 2 comments
Open

clock should get in a static way in HConnectionManager #629

dereek opened this issue Jul 22, 2013 · 2 comments

Comments

@dereek
Copy link

dereek commented Jul 22, 2013

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

@patricioe
Copy link
Collaborator

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.

@dereek
Copy link
Author

dereek commented Jul 22, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants