Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Underlying protocol and Java implementation are inherently asynchronous, so any thin client API can have an async equivalent.

Description

...

APIs

Provide async equivalents for all Java Thin Client APIs where possible:

  • IgniteClient
  • ClientCacheTODO
  • ClientCluster, ClientClusterGroup
  • ClientCompute (already has executeAsync, but may need improvement - see below)
  • ClientTransaction, ClientTransactions

Futures

Async APIs should return IgniteFuture for consistency with other Ignite APIs.

ClientCompute#executeAsync returns plain j.u.c.Future, which does not provide completion callbacks or chaining, this should be changed (deprecate old method and create a new one).

Future Completion Thread

Risks and Assumptions

// Describe project risks, such as API or binary compatibility issues, major protocol changes, etc.

...