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
ConstructorsConstructorDescriptionExchangeClientStatus(long bufferedBytes, long maxBufferedBytes, long averageBytesPerRequest, long successFullRequestsCount, int bufferedPages, boolean noMoreLocations, List<PageBufferClientStatus> pageBufferClientStatuses) -
Method Summary
Modifier and TypeMethodDescriptionlonglongintlonglongbooleanisFinal()booleanmergeWith(ExchangeClientStatus other) toString()
-
Constructor Details
-
ExchangeClientStatus
public ExchangeClientStatus(long bufferedBytes, long maxBufferedBytes, long averageBytesPerRequest, long successFullRequestsCount, int bufferedPages, boolean noMoreLocations, List<PageBufferClientStatus> pageBufferClientStatuses)
-
-
Method Details
-
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
-
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).
-
toString
-
mergeWith
- Specified by:
mergeWithin interfaceMergeable<ExchangeClientStatus>
-