Package io.trino.spi.memory
Class MemoryPoolInfo
java.lang.Object
io.trino.spi.memory.MemoryPoolInfo
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryPoolInfo(long maxBytes, long reservedBytes, long reservedRevocableBytes, Map<QueryId, Long> queryMemoryReservations, Map<QueryId, List<MemoryAllocation>> queryMemoryAllocations, Map<QueryId, Long> queryMemoryRevocableReservations, Map<String, Long> taskMemoryReservations, Map<String, Long> taskMemoryRevocableReservations) -
Method Summary
-
Constructor Details
-
MemoryPoolInfo
public MemoryPoolInfo(long maxBytes, long reservedBytes, long reservedRevocableBytes, Map<QueryId, Long> queryMemoryReservations, Map<QueryId, List<MemoryAllocation>> queryMemoryAllocations, Map<QueryId, Long> queryMemoryRevocableReservations, Map<String, Long> taskMemoryReservations, Map<String, Long> taskMemoryRevocableReservations)
-
-
Method Details
-
getMaxBytes
public long getMaxBytes() -
getFreeBytes
public long getFreeBytes() -
getReservedBytes
public long getReservedBytes() -
getReservedRevocableBytes
public long getReservedRevocableBytes() -
getQueryMemoryReservations
-
getQueryMemoryAllocations
-
getQueryMemoryRevocableReservations
-
getTaskMemoryReservations
-
getTaskMemoryRevocableReservations
-
toString
-