Package io.prestosql.memory
Class LocalMemoryManager
- java.lang.Object
-
- io.prestosql.memory.LocalMemoryManager
-
public final class LocalMemoryManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static MemoryPoolId
GENERAL_POOL
static MemoryPoolId
RESERVED_POOL
-
Constructor Summary
Constructors Constructor Description LocalMemoryManager(NodeMemoryConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryPool
getGeneralPool()
MemoryInfo
getInfo()
List<MemoryPool>
getPools()
Optional<MemoryPool>
getReservedPool()
-
-
-
Field Detail
-
GENERAL_POOL
public static final MemoryPoolId GENERAL_POOL
-
RESERVED_POOL
public static final MemoryPoolId RESERVED_POOL
-
-
Constructor Detail
-
LocalMemoryManager
@Inject public LocalMemoryManager(NodeMemoryConfig config)
-
-
Method Detail
-
getInfo
public MemoryInfo getInfo()
-
getPools
public List<MemoryPool> getPools()
-
getGeneralPool
public MemoryPool getGeneralPool()
-
getReservedPool
public Optional<MemoryPool> getReservedPool()
-
-