public class IOMetrics extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected long |
accumulateBackPressuredTime |
protected double |
accumulateBusyTime |
protected long |
accumulateIdleTime |
protected long |
numBytesIn |
protected long |
numBytesOut |
protected long |
numRecordsIn |
protected long |
numRecordsOut |
protected Map<IntermediateResultPartitionID,ResultPartitionBytes> |
resultPartitionBytes |
Constructor and Description |
---|
IOMetrics(long numBytesIn,
long numBytesOut,
long numRecordsIn,
long numRecordsOut,
long accumulateIdleTime,
double accumulateBusyTime,
long accumulateBackPressuredTime) |
IOMetrics(long numBytesIn,
long numBytesOut,
long numRecordsIn,
long numRecordsOut,
long accumulateIdleTime,
double accumulateBusyTime,
long accumulateBackPressuredTime,
Map<IntermediateResultPartitionID,ResultPartitionBytes> resultPartitionBytes) |
IOMetrics(Meter recordsIn,
Meter recordsOut,
Meter bytesIn,
Meter bytesOut,
Gauge<Long> accumulatedBackPressuredTime,
Gauge<Long> accumulatedIdleTime,
Gauge<Double> accumulatedBusyTime,
Map<IntermediateResultPartitionID,ResultPartitionBytesCounter> resultPartitionBytesCounters) |
Modifier and Type | Method and Description |
---|---|
long |
getAccumulateBackPressuredTime() |
double |
getAccumulateBusyTime() |
long |
getAccumulateIdleTime() |
long |
getNumBytesIn() |
long |
getNumBytesOut() |
long |
getNumRecordsIn() |
long |
getNumRecordsOut() |
Map<IntermediateResultPartitionID,ResultPartitionBytes> |
getResultPartitionBytes() |
protected long numRecordsIn
protected long numRecordsOut
protected long numBytesIn
protected long numBytesOut
protected long accumulateBackPressuredTime
protected double accumulateBusyTime
protected long accumulateIdleTime
@Nullable protected Map<IntermediateResultPartitionID,ResultPartitionBytes> resultPartitionBytes
public IOMetrics(Meter recordsIn, Meter recordsOut, Meter bytesIn, Meter bytesOut, Gauge<Long> accumulatedBackPressuredTime, Gauge<Long> accumulatedIdleTime, Gauge<Double> accumulatedBusyTime, Map<IntermediateResultPartitionID,ResultPartitionBytesCounter> resultPartitionBytesCounters)
public IOMetrics(long numBytesIn, long numBytesOut, long numRecordsIn, long numRecordsOut, long accumulateIdleTime, double accumulateBusyTime, long accumulateBackPressuredTime)
@VisibleForTesting public IOMetrics(long numBytesIn, long numBytesOut, long numRecordsIn, long numRecordsOut, long accumulateIdleTime, double accumulateBusyTime, long accumulateBackPressuredTime, @Nullable Map<IntermediateResultPartitionID,ResultPartitionBytes> resultPartitionBytes)
public long getNumRecordsIn()
public long getNumRecordsOut()
public long getNumBytesIn()
public long getNumBytesOut()
public double getAccumulateBusyTime()
public long getAccumulateBackPressuredTime()
public long getAccumulateIdleTime()
public Map<IntermediateResultPartitionID,ResultPartitionBytes> getResultPartitionBytes()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.