petrov-mg commented on code in PR #11176:
URL: https://github.com/apache/ignite/pull/11176#discussion_r1559117005
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/platform/client/ClientRequest.java:
##########
@@ -58,4 +59,21 @@ public ClientRequest(long reqId) {
public ClientResponse process(ClientConnectionContext ctx) {
return new ClientResponse(reqId);
}
+
+ /**
+ * Processes the request asynchronously.
+ *
+ * @return Future for response.
+ */
+ public IgniteInternalFuture<ClientResponse>
processAsync(ClientConnectionContext ctx) {
+ throw new IllegalStateException("Async operation is not implemented
for request " + getClass().getName());
+ }
+
+ /**
+ * @param ctx Client connection context.
+ * @return {@code True} if requiest should be processed asynchronously.
Review Comment:
Typo: `requiest`
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxLocalState.java:
##########
@@ -51,4 +53,14 @@ public interface IgniteTxLocalState extends IgniteTxState {
* @return Recovery mode flag.
*/
public boolean recovery();
+
+ /**
+ * Awaits for previous async operations on active caches to be completed.
+ *
+ * @param cctx Cache shared context.
Review Comment:
Invalid javadoc parameter.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]