java.lang.Object
com.aoindustries.noc.monitor.common.Result
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SingleResult
,TableMultiResult
,TableResult
Encapsulates any type of result.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the number of nanoseconds it took to perform the check.long
getTime()
Gets the time this check was performed.
-
Field Details
-
time
protected final long time -
latency
protected final long latency
-
-
Constructor Details
-
Result
protected Result(long time, long latency)
-
-
Method Details
-
getTime
public long getTime()Gets the time this check was performed. -
getLatency
public long getLatency()Gets the number of nanoseconds it took to perform the check.
-