-
Notifications
You must be signed in to change notification settings - Fork 94
[DE-498] [DE-499] Async API #519
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
Conversation
SonarCloud Quality Gate failed. Quality Gate failed
Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell
0.0% 0.0% Coverage
4.4% 4.4% Duplication
warning The version of Java (11.0.21) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here
idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint
This PR re-introduces asynchronous API in v7.
The asynchronous API is now accessible through
com.arangodb.ArangoDB#async() : ArangoDBAsync
.Cursor and query methods (in
ArangoDatabase
) will be implemented in a separate PR.The communication layer has been refactored to be asynchronous. It has been implemented for all supported communication protocols: VST, HTTP/1.1 and HTTP/2.
The synchronous API uses now the same asynchronous communication and blocks to get synchronous results.
Some management operations, like acquiring the host list, are still performed synchronously (blocking the calling thread). They will be refactored to be asynchronous in a future PR.