Skip to content

1.5.0-alpha02

Pre-release
Pre-release
Compare
Choose a tag to compare
@lutovich lutovich released this 29 Sep 13:15
· 1507 commits to 6.x since this 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 manner
  • CompletionStage<Void> Session#closeAsync() - allows closing session in async manner
  • StatementResultCursor - allows asynchronous retrieval of records and result summary
  • CompletionStage<StatementResultCursor> Session#runAsync() and CompletionStage<StatementResultCursor> Transaction#runAsync() have various overloads to execute queries asynchronously
  • CompletionStage<Void> Transaction#commitAsync() and CompletionStage<Void> Transaction#rollbackAsync() to commit and rollback transactions

This is a pre-release version and is not intended for production use!