-
Notifications
You must be signed in to change notification settings - Fork 115
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
Allow async initialization of Node and Client #29
Comments
Hi @nithril, Thanks for your pull request. Really useful.
Then squash all commits, push that again to your branch and ping me back. Thanks for your help! |
Hello David, I will do these changes next week. Nicolas |
Hi @nithril I'm working on updating the project to elasticsearch 2.0. The latest blocker I have is related to your PR. Previously, in elasticsearch, So this code: proxyfiedNode = (Node) Proxy.newProxyInstance(Node.class.getClassLoader(),
new Class[]{Node.class}, new GenericInvocationHandler(nodeFuture)); Can't work anymore:
Thoughts? |
Hi David, Is it possible to push your code to a branch that I can have a look ? Thanks! |
Tests fail see: #29 (comment) Closes #73.
Hi, The proxy cannot be created anymore using JDK proxy. It should be created using cglib. I can fix this issue at the end of the day. |
Cool! Thanks! |
Tests fail see: #29 (comment) Closes #73. (cherry picked from commit af88902)
Node and client can take times to initialize. An async mode can be especialy usefull for unit test where speed matter
The text was updated successfully, but these errors were encountered: