Class OutageSince


  • public class OutageSince
    extends java.lang.Object
    OutageSince holds the temporary storage for data used during availability report generation presented in the report.
    • Constructor Summary

      Constructors 
      Constructor Description
      OutageSince​(java.lang.String nodename, long outTime, long outage)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getNodeName()
      Returns Node name
      long getOutage()
      Returns Downtime
      long getOutTime()
      Returns Down since
      java.lang.String toString()
      Returns the string format of this object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OutageSince

        public OutageSince​(java.lang.String nodename,
                           long outTime,
                           long outage)
        Constructor
        Parameters:
        nodename - Node Name
        outTime - Start of Outage
        outage - Downtime
    • Method Detail

      • getNodeName

        public java.lang.String getNodeName()
        Returns Node name
        Returns:
        a String object.
      • getOutage

        public long getOutage()
        Returns Downtime
        Returns:
        a long.
      • getOutTime

        public long getOutTime()
        Returns Down since
        Returns:
        a long.
      • toString

        public java.lang.String toString()
        Returns the string format of this object
        Overrides:
        toString in class java.lang.Object
        Returns:
        a String object.