Class LoadAverageResult
java.lang.Object
com.aoindustries.noc.monitor.common.Result
com.aoindustries.noc.monitor.common.TableMultiResult
com.aoindustries.noc.monitor.common.LoadAverageResult
- All Implemented Interfaces:
Serializable
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLoadAverageResult
(long time, long latency, AlertLevel alertLevel, float oneMinute, float fiveMinute, float tenMinute, int runningProcesses, int totalProcesses, int lastPid, float loadLow, float loadMedium, float loadHigh, float loadCritical) LoadAverageResult
(long time, long latency, AlertLevel alertLevel, String error) -
Method Summary
Modifier and TypeMethodDescriptionfloat
int
float
float
float
float
float
getRowData
(int index) Gets the data for one row.int
Gets the number of data elements for this result.int
float
int
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
-
LoadAverageResult
-
LoadAverageResult
public LoadAverageResult(long time, long latency, AlertLevel alertLevel, float oneMinute, float fiveMinute, float tenMinute, int runningProcesses, int totalProcesses, int lastPid, float loadLow, float loadMedium, float loadHigh, float loadCritical)
-
-
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
-
getOneMinute
public float getOneMinute() -
getFiveMinute
public float getFiveMinute() -
getTenMinute
public float getTenMinute() -
getRunningProcesses
public int getRunningProcesses() -
getTotalProcesses
public int getTotalProcesses() -
getLastPid
public int getLastPid() -
getLoadLow
public float getLoadLow() -
getLoadMedium
public float getLoadMedium() -
getLoadHigh
public float getLoadHigh() -
getLoadCritical
public float getLoadCritical()
-