Package io.trino.memory
Class LeastWastedEffortTaskLowMemoryKiller
java.lang.Object
io.trino.memory.LeastWastedEffortTaskLowMemoryKiller
- All Implemented Interfaces:
LowMemoryKiller
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.memory.LowMemoryKiller
LowMemoryKiller.ForQueryLowMemoryKiller, LowMemoryKiller.ForTaskLowMemoryKiller, LowMemoryKiller.RunningQueryInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchooseTargetToKill(List<LowMemoryKiller.RunningQueryInfo> runningQueries, List<MemoryInfo> nodes)
-
Constructor Details
-
LeastWastedEffortTaskLowMemoryKiller
public LeastWastedEffortTaskLowMemoryKiller()
-
-
Method Details
-
chooseTargetToKill
public Optional<KillTarget> chooseTargetToKill(List<LowMemoryKiller.RunningQueryInfo> runningQueries, List<MemoryInfo> nodes) - Specified by:
chooseTargetToKillin interfaceLowMemoryKiller
-