public static class Connector.PortStats
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
numBadRcvFrames
Running counter of defective received frames.
|
int |
numBadXmtFrames
Running counter of transmission failures.
|
int |
numDataOverrunLosses
Number of times data loss (due to overruns) was detected.
|
long |
numRcvBytes
Running counter of received bytes on this PortConnector.
|
int |
numRcvFrames
Running counter of received frames on this PortConnector.
|
long |
numXmtBytes
Running counter of transmitted bytes on this PortConnector.
|
int |
numXmtFrames
Running counter of transmitted frames on this PortConnector.
|
Constructor and Description |
---|
PortStats() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Reset all the statistics counters to zero.
|
void |
clearGoodCounts()
Reset only the counters of successful operations.
|
Connector.PortStats |
dup()
Make a deep copy of this PortStats object.
|
public int numRcvFrames
public long numRcvBytes
public int numXmtFrames
public long numXmtBytes
public int numBadRcvFrames
public int numBadXmtFrames
public int numDataOverrunLosses
public void clear()
public void clearGoodCounts()
public Connector.PortStats dup()