Package io.trino.memory.context
Class ValidatingAggregateContext
java.lang.Object
io.trino.memory.context.ValidatingAggregateContext
- All Implemented Interfaces:
AggregatedMemoryContext
-
Constructor Summary
ConstructorsConstructorDescriptionValidatingAggregateContext(AggregatedMemoryContext delegate, MemoryAllocationValidator memoryValidator) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetBytes()newLocalMemoryContext(String allocationTag)
-
Constructor Details
-
ValidatingAggregateContext
public ValidatingAggregateContext(AggregatedMemoryContext delegate, MemoryAllocationValidator memoryValidator)
-
-
Method Details
-
newAggregatedMemoryContext
- Specified by:
newAggregatedMemoryContextin interfaceAggregatedMemoryContext
-
newLocalMemoryContext
- Specified by:
newLocalMemoryContextin interfaceAggregatedMemoryContext
-
getBytes
public long getBytes()- Specified by:
getBytesin interfaceAggregatedMemoryContext
-
close
public void close()- Specified by:
closein interfaceAggregatedMemoryContext
-