| Package | Description |
|---|---|
| io.prestosql.memory |
| Modifier and Type | Method and Description |
|---|---|
MemoryPool |
LocalMemoryManager.getGeneralPool() |
MemoryPool |
QueryContext.getMemoryPool() |
| Modifier and Type | Method and Description |
|---|---|
List<MemoryPool> |
LocalMemoryManager.getPools() |
Optional<MemoryPool> |
LocalMemoryManager.getReservedPool() |
| Modifier and Type | Method and Description |
|---|---|
void |
MemoryPoolListener.onMemoryReserved(MemoryPool memoryPool)
Invoked when memory reservation completes successfully.
|
void |
QueryContext.setMemoryPool(MemoryPool newMemoryPool) |
| Modifier and Type | Method and Description |
|---|---|
static MemoryPoolListener |
MemoryPoolListener.onMemoryReserved(Consumer<? super MemoryPool> action)
Creates
MemoryPoolListener implementing MemoryPoolListener.onMemoryReserved(MemoryPool) only. |
| Constructor and Description |
|---|
QueryContext(QueryId queryId,
io.airlift.units.DataSize maxUserMemory,
io.airlift.units.DataSize maxTotalMemory,
MemoryPool memoryPool,
io.airlift.stats.GcMonitor gcMonitor,
Executor notificationExecutor,
ScheduledExecutorService yieldExecutor,
io.airlift.units.DataSize maxSpill,
SpillSpaceTracker spillSpaceTracker) |
Copyright © 2012–2019. All rights reserved.