rpuch commented on code in PR #814:
URL: https://github.com/apache/ignite-3/pull/814#discussion_r877953537
##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/PageMemoryDataRegion.java:
##########
@@ -33,4 +34,11 @@ public interface PageMemoryDataRegion {
*/
@Nullable
PageMemory pageMemory();
+
+ /**
+ * Returns page memory or throws an exception if not started.
+ */
+ default PageMemory requiredPageMemory() {
Review Comment:
Removed the added method and moved null-check to `pageMemory()` so that it
is not `@Nullable` anymore (as from the analysis of the current code, no caller
of `pageMemory()` tolerates null value)
--
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]