Package io.prestosql.memory
Class TotalReservationLowMemoryKiller
- java.lang.Object
-
- io.prestosql.memory.TotalReservationLowMemoryKiller
-
- All Implemented Interfaces:
LowMemoryKiller
public class TotalReservationLowMemoryKiller extends Object implements LowMemoryKiller
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.prestosql.memory.LowMemoryKiller
LowMemoryKiller.QueryMemoryInfo
-
-
Constructor Summary
Constructors Constructor Description TotalReservationLowMemoryKiller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<QueryId>
chooseQueryToKill(List<LowMemoryKiller.QueryMemoryInfo> runningQueries, List<MemoryInfo> nodes)
-
-
-
Method Detail
-
chooseQueryToKill
public Optional<QueryId> chooseQueryToKill(List<LowMemoryKiller.QueryMemoryInfo> runningQueries, List<MemoryInfo> nodes)
- Specified by:
chooseQueryToKill
in interfaceLowMemoryKiller
-
-