Class SingleResult
java.lang.Object
com.aoindustries.noc.monitor.common.Result
com.aoindustries.noc.monitor.common.SingleResult
- All Implemented Interfaces:
Serializable
Encapsulates a single result from a single result check.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSingleResult
(long time, long latency, SerializableFunction<Locale, String> error, String report) -
Method Summary
Methods inherited from class com.aoindustries.noc.monitor.common.Result
getLatency, getTime
-
Constructor Details
-
SingleResult
public SingleResult(long time, long latency, SerializableFunction<Locale, String> error, String report)
-
-
Method Details
-
getError
Gets the error ornull
for none. -
getReport
Gets the raw data received from the server.
-