ivanzlenko commented on code in PR #7374:
URL: https://github.com/apache/ignite-3/pull/7374#discussion_r2675886915


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/DataRegion.java:
##########
@@ -25,4 +25,11 @@ public interface DataRegion<T extends PageMemory> {
      * Returns page memory.
      */
     T pageMemory();
+
+    /**
+     * Returns the region size in bytes.
+     */
+    default long regionSize() {

Review Comment:
   In that case it is better to create a test implementation since default 
implementation is only for tests. 



-- 
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]

Reply via email to