Package io.trino.operator
Class ExchangeClientStatus
- java.lang.Object
-
- io.trino.operator.ExchangeClientStatus
-
- All Implemented Interfaces:
OperatorInfo,Mergeable<ExchangeClientStatus>
public class ExchangeClientStatus extends Object implements Mergeable<ExchangeClientStatus>, OperatorInfo
-
-
Constructor Summary
Constructors Constructor Description ExchangeClientStatus(long bufferedBytes, long maxBufferedBytes, long averageBytesPerRequest, long successFullRequestsCount, int bufferedPages, boolean noMoreLocations, List<PageBufferClientStatus> pageBufferClientStatuses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAverageBytesPerRequest()longgetBufferedBytes()intgetBufferedPages()longgetMaxBufferedBytes()List<PageBufferClientStatus>getPageBufferClientStatuses()longgetSuccessfulRequestsCount()booleanisFinal()booleanisNoMoreLocations()ExchangeClientStatusmergeWith(ExchangeClientStatus other)StringtoString()
-
-
-
Constructor Detail
-
ExchangeClientStatus
public ExchangeClientStatus(long bufferedBytes, long maxBufferedBytes, long averageBytesPerRequest, long successFullRequestsCount, int bufferedPages, boolean noMoreLocations, List<PageBufferClientStatus> pageBufferClientStatuses)
-
-
Method Detail
-
getBufferedBytes
public long getBufferedBytes()
-
getMaxBufferedBytes
public long getMaxBufferedBytes()
-
getAverageBytesPerRequest
public long getAverageBytesPerRequest()
-
getSuccessfulRequestsCount
public long getSuccessfulRequestsCount()
-
getBufferedPages
public int getBufferedPages()
-
isNoMoreLocations
public boolean isNoMoreLocations()
-
getPageBufferClientStatuses
public List<PageBufferClientStatus> getPageBufferClientStatuses()
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceOperatorInfo- Returns:
- true if this OperatorInfo should be collected and sent to the coordinator when the task completes (i.e. it will not be stripped away during summarization).
-
mergeWith
public ExchangeClientStatus mergeWith(ExchangeClientStatus other)
- Specified by:
mergeWithin interfaceMergeable<ExchangeClientStatus>
-
-