public interface MemoryManager extends LlapOomDebugDump
Modifier and Type | Method and Description |
---|---|
void |
forceReservedMemory(int allocationSize,
int count)
TODO: temporary method until we get a better allocator.
|
void |
releaseMemory(long memUsage) |
boolean |
reserveMemory(long memoryToReserve,
boolean waitForEviction) |
void |
updateMaxSize(long maxSize) |
debugDumpForOom
boolean reserveMemory(long memoryToReserve, boolean waitForEviction)
void releaseMemory(long memUsage)
void updateMaxSize(long maxSize)
void forceReservedMemory(int allocationSize, int count)
Copyright © 2016 The Apache Software Foundation. All rights reserved.