You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2021/05/26 15:21:40 UTC
[GitHub] [geode] jdeppe-pivotal commented on a change in pull request #6520: GEODE-9313: Allow AllowExecutionInLowMemory to be usable generically
jdeppe-pivotal commented on a change in pull request #6520:
URL: https://github.com/apache/geode/pull/6520#discussion_r639832662
##########
File path: geode-core/src/main/java/org/apache/geode/internal/cache/execute/AllowExecutionInLowMemory.java
##########
@@ -18,6 +18,6 @@
/**
* An internal marker interface used to allow functions to run in low-memory conditions.
*/
-public interface AllowExecutionInLowMemory extends InternalFunction<Object[]> {
+public interface AllowExecutionInLowMemory<T> extends InternalFunction<T> {
Review comment:
It allows functions to run when Geode is under memory pressure. Have a look at `HeapMemoryMonitor.createLowMemoryIfNeeded`.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org