Package io.trino.memory.context
Interface AggregatedMemoryContext
public interface AggregatedMemoryContext
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetBytes()newLocalMemoryContext(String allocationTag) static AggregatedMemoryContextnewRootAggregatedMemoryContext(MemoryReservationHandler reservationHandler, long guaranteedMemoryInBytes) static AggregatedMemoryContext
-
Method Details
-
newSimpleAggregatedMemoryContext
-
newRootAggregatedMemoryContext
static AggregatedMemoryContext newRootAggregatedMemoryContext(MemoryReservationHandler reservationHandler, long guaranteedMemoryInBytes) -
newAggregatedMemoryContext
AggregatedMemoryContext newAggregatedMemoryContext() -
newLocalMemoryContext
-
getBytes
long getBytes() -
close
void close()
-