You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "tkalkirill (via GitHub)" <gi...@apache.org> on 2023/03/06 18:00:29 UTC
[GitHub] [ignite-3] tkalkirill commented on a diff in pull request #1745: IGNITE-18529 Deal with deleting a table/partition and rebalancing partitions
tkalkirill commented on code in PR #1745:
URL: https://github.com/apache/ignite-3/pull/1745#discussion_r1126829456
##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/util/StorageOperation.java:
##########
@@ -25,16 +25,55 @@
* Storage operations.
*/
interface StorageOperation {
+ /**
+ * Returns future completion of the operation.
+ */
+ CompletableFuture<Void> operationFuture();
+
+ /**
+ * Return {@code true} if the operation is the final.
+ */
+ boolean isFinalOperation();
+
+ /**
+ * Marks the operation as final.
+ */
+ void markFinalOperation();
+
+ /**
+ * Abstract operation of the storage.
+ */
+ abstract class AbstractStorageOperation implements StorageOperation {
Review Comment:
Why not, fixed it.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org