Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,4 @@ public interface SystemIteratorEnvironment extends IteratorEnvironment {

SortedKeyValueIterator<Key,Value> getTopLevelIterator(SortedKeyValueIterator<Key,Value> iter);

@Override
default boolean isRunningLowOnMemory() {
return getServerContext().getLowMemoryDetector().isRunningLowOnMemory();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,9 @@ public ServerContext getServerContext() {
return new MultiIterator(allIters, false);
}

@Override
public boolean isRunningLowOnMemory() {
return getServerContext().getLowMemoryDetector().isRunningLowOnMemory();
}

}