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
ConstructorsConstructorDescriptionLoadAverageResult(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 TypeMethodDescriptionfloatintfloatfloatfloatfloatfloatgetRowData(int index) Gets the data for one row.intGets the number of data elements for this result.intfloatintMethods inherited from class com.aoindustries.noc.monitor.common.TableMultiResult
getAlertLevel, getErrorMethods 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:TableMultiResultGets the number of data elements for this result.- Specified by:
getRowDataSizein classTableMultiResult
-
getRowData
Description copied from class:TableMultiResultGets 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:
getRowDatain 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()
-
