Class VCCEndpointStatistics
java.lang.Object
|
+----Statistics
|
+----VCCEndpointStatistics
- public class VCCEndpointStatistics
- extends Statistics
Class definition for counters at one end of a VCC.
- Version:
- $Revision: 1.3 $, $Date: 2000/10/12 14:08:03 $
- Author:
- John Cavanaugh
-
uptime
- The uptime of the VCC at the endpoint, in hundredths
of a second.
-
xmitCells
- The number of cells transmitted by the endpoint.
-
VCCEndpointStatistics(long, long, long)
- Constructs a VCC statistics object.
-
getUptime()
- Gets the length of time the VCC has been up.
-
getXmitCells()
- Gets the number of cells transmitted on the VCC.
uptime
private long uptime
- The uptime of the VCC at the endpoint, in hundredths
of a second.
xmitCells
private long xmitCells
- The number of cells transmitted by the endpoint.
VCCEndpointStatistics
public VCCEndpointStatistics(long time,
long uptime,
long xmitCells)
- Constructs a VCC statistics object.
- Parameters:
- time - the time the update took place.
- uptime - the time the VCC has been up.
- xmitCells - the number of cells transmitted
on the VCC.
getUptime
public long getUptime()
- Gets the length of time the VCC has been up.
- Returns:
- the time the VCC has been up.
getXmitCells
public long getXmitCells()
- Gets the number of cells transmitted on the VCC.
- Returns:
- the number of cells transmitted on the VCC.