public class IOMetrics extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected long |
numBytesInLocal |
protected double |
numBytesInLocalPerSecond |
protected long |
numBytesInRemote |
protected double |
numBytesInRemotePerSecond |
protected long |
numBytesOut |
protected double |
numBytesOutPerSecond |
protected long |
numRecordsIn |
protected double |
numRecordsInPerSecond |
protected long |
numRecordsOut |
protected double |
numRecordsOutPerSecond |
Constructor and Description |
---|
IOMetrics(long numBytesInLocal,
long numBytesInRemote,
long numBytesOut,
long numRecordsIn,
long numRecordsOut,
double numBytesInLocalPerSecond,
double numBytesInRemotePerSecond,
double numBytesOutPerSecond,
double numRecordsInPerSecond,
double numRecordsOutPerSecond) |
IOMetrics(Meter recordsIn,
Meter recordsOut,
Meter bytesLocalIn,
Meter bytesRemoteIn,
Meter bytesOut) |
Modifier and Type | Method and Description |
---|---|
long |
getNumBytesInLocal() |
double |
getNumBytesInLocalPerSecond() |
long |
getNumBytesInRemote() |
double |
getNumBytesInRemotePerSecond() |
long |
getNumBytesInTotal() |
long |
getNumBytesOut() |
double |
getNumBytesOutPerSecond() |
long |
getNumRecordsIn() |
double |
getNumRecordsInPerSecond() |
long |
getNumRecordsOut() |
double |
getNumRecordsOutPerSecond() |
protected long numRecordsIn
protected long numRecordsOut
protected double numRecordsInPerSecond
protected double numRecordsOutPerSecond
protected long numBytesInLocal
protected long numBytesInRemote
protected long numBytesOut
protected double numBytesInLocalPerSecond
protected double numBytesInRemotePerSecond
protected double numBytesOutPerSecond
public IOMetrics(Meter recordsIn, Meter recordsOut, Meter bytesLocalIn, Meter bytesRemoteIn, Meter bytesOut)
public IOMetrics(long numBytesInLocal, long numBytesInRemote, long numBytesOut, long numRecordsIn, long numRecordsOut, double numBytesInLocalPerSecond, double numBytesInRemotePerSecond, double numBytesOutPerSecond, double numRecordsInPerSecond, double numRecordsOutPerSecond)
public long getNumRecordsIn()
public long getNumRecordsOut()
public long getNumBytesInLocal()
public long getNumBytesInRemote()
public long getNumBytesInTotal()
public long getNumBytesOut()
public double getNumRecordsInPerSecond()
public double getNumRecordsOutPerSecond()
public double getNumBytesInLocalPerSecond()
public double getNumBytesInRemotePerSecond()
public double getNumBytesOutPerSecond()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.