Class NetDeviceBitRateResult
java.lang.Object
com.aoindustries.noc.monitor.common.Result
com.aoindustries.noc.monitor.common.TableMultiResult
com.aoindustries.noc.monitor.common.NetDeviceBitRateResult
- All Implemented Interfaces:
Serializable
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNetDeviceBitRateResult
(long time, long latency, AlertLevel alertLevel, long txBitsPerSecond, long rxBitsPerSecond, long txPacketsPerSecond, long rxPacketsPerSecond, long bpsLow, long bpsMedium, long bpsHigh, long bpsCritical) NetDeviceBitRateResult
(long time, long latency, AlertLevel alertLevel, String error) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
getRowData
(int index) Gets the data for one row.int
Gets the number of data elements for this result.long
long
long
long
Methods inherited from class com.aoindustries.noc.monitor.common.TableMultiResult
getAlertLevel, getError
Methods inherited from class com.aoindustries.noc.monitor.common.Result
getLatency, getTime
-
Constructor Details
-
NetDeviceBitRateResult
-
NetDeviceBitRateResult
public NetDeviceBitRateResult(long time, long latency, AlertLevel alertLevel, long txBitsPerSecond, long rxBitsPerSecond, long txPacketsPerSecond, long rxPacketsPerSecond, long bpsLow, long bpsMedium, long bpsHigh, long bpsCritical)
-
-
Method Details
-
getRowDataSize
public int getRowDataSize()Description copied from class:TableMultiResult
Gets the number of data elements for this result.- Specified by:
getRowDataSize
in classTableMultiResult
-
getRowData
Description copied from class:TableMultiResult
Gets the data for one row. This should not include the time and latency, they are implied. When there is an error, getRowData will not be checked and should return null.- Specified by:
getRowData
in classTableMultiResult
-
getTxBitsPerSecond
public long getTxBitsPerSecond() -
getRxBitsPerSecond
public long getRxBitsPerSecond() -
getTxPacketsPerSecond
public long getTxPacketsPerSecond() -
getRxPacketsPerSecond
public long getRxPacketsPerSecond() -
getBpsLow
public long getBpsLow() -
getBpsMedium
public long getBpsMedium() -
getBpsHigh
public long getBpsHigh() -
getBpsCritical
public long getBpsCritical()
-