-
Language:
English
-
Language:
English
2.3. Return Values and the Asynchronous API
When the asynchronous API is used in Red Hat JBoss Data Grid, the client code requires the asynchronous operation to return either the
Future
or the CompletableFuture
in order to query the previous value.
Call the following operation to obtain the result of an asynchronous operation. This operation blocks threads when called.
Future.get()