1.5.0-alpha02
Pre-release
Pre-release
Second alpha release containing initial version of Netty-based async API. Required Java version has been raised to Java 8. This is done to be able to use native Java async types like CompletionStage
and CompletableFuture
. Routing is not yet supported. Async and blocking network connections live side-by-side.
New async API contact points:
CompletionStage<Transaction> Session#beginTransactionAsync()
- allows starting a transaction in async mannerCompletionStage<Void> Session#closeAsync()
- allows closing session in async mannerStatementResultCursor
- allows asynchronous retrieval of records and result summaryCompletionStage<StatementResultCursor> Session#runAsync()
andCompletionStage<StatementResultCursor> Transaction#runAsync()
have various overloads to execute queries asynchronouslyCompletionStage<Void> Transaction#commitAsync()
andCompletionStage<Void> Transaction#rollbackAsync()
to commit and rollback transactions
This is a pre-release version and is not intended for production use!