Class TableMultiResult
java.lang.Object
com.aoindustries.noc.monitor.common.Result
com.aoindustries.noc.monitor.common.TableMultiResult
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HttpdServerResult
,LoadAverageResult
,MemoryResult
,MysqlReplicationResult
,NetBindResult
,NetDeviceBitRateResult
,PingResult
,TimeResult
,UpsResult
Encapsulates a single result, this will be a single row in the
table showing the current and history.
- http://codeguru.earthweb.com/java/articles/139.shtml
- http://74.125.45.104/search?q=cache:La1aeG_jfaIJ:www.experts-exchange.com/Programming/Languages/Java/Q_22583929.html+jtable+merge+cells&hl=en&client=firefox-a&gl=us&strip=1
- http://quicktable.org/discussion/cutecast/cutecast.pl?session=CMwYr6oQ8NxQu3SZ83YhXc1KpO&action=&forum=1&thread=121&user=&query=&msgid=&page=&sort=&do=&key=&others=
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TableMultiResult
(long time, long latency, AlertLevel alertLevel, String error) Either error is null or rowData is null, it cannot be that both are null or both are not null. -
Method Summary
Modifier and TypeMethodDescriptionGets the alert level for this row.getError()
If is an error, gets the error message ornull
for no error.abstract Object
getRowData
(int index) Gets the data for one row.abstract int
Gets the number of data elements for this result.Methods inherited from class com.aoindustries.noc.monitor.common.Result
getLatency, getTime
-
Constructor Details
-
TableMultiResult
Either error is null or rowData is null, it cannot be that both are null or both are not null.
-
-
Method Details
-
getError
If is an error, gets the error message ornull
for no error. -
getRowDataSize
public abstract int getRowDataSize()Gets the number of data elements for this result. -
getRowData
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. -
getAlertLevel
Gets the alert level for this row.
-