java.lang.Object
com.aoindustries.noc.monitor.common.Result
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SingleResult, TableMultiResult, TableResult

public abstract class Result extends Object implements Serializable
Encapsulates any type of result.
Author:
AO Industries, Inc.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final long
     
    protected final long
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Result(long time, long latency)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the number of nanoseconds it took to perform the check.
    long
    Gets the time this check was performed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.