Class HostStats

All Implemented Interfaces:
Serializable, Cloneable

public class HostStats extends DataBaseObject
The Class HostStats.
See Also:
  • Field Details

    • HST_ID

      protected int HST_ID
      The hst id.
    • HST_CONNECTIONS

      protected int HST_CONNECTIONS
      The connections.
    • HST_DURATION

      protected long HST_DURATION
      The duration.
    • HST_SENT

      protected long HST_SENT
      The sent.
    • HST_VALID

      protected boolean HST_VALID
      The valid.
    • HST_CHECK_TIME

      protected BigDecimal HST_CHECK_TIME
      The check time.
  • Constructor Details

    • HostStats

      public HostStats()
      Instantiates a new host stats.
    • HostStats

      public HostStats(int id)
      Instantiates a new host stats.
      Parameters:
      id - the id
  • Method Details

    • getCheckTime

      public Timestamp getCheckTime()
      Gets the check time.
      Returns:
      the check time
    • setCheckTime

      public void setCheckTime(Timestamp param)
      Sets the check time.
      Parameters:
      param - the new check time
    • getConnections

      public int getConnections()
      Gets the connections.
      Returns:
      the connections
    • setConnections

      public void setConnections(int param)
      Sets the connections.
      Parameters:
      param - the new connections
    • setConnections

      public void setConnections(String param)
      Sets the connections.
      Parameters:
      param - the new connections
    • getDuration

      public long getDuration()
      Gets the duration.
      Returns:
      the duration
    • setDuration

      public void setDuration(long param)
      Sets the duration.
      Parameters:
      param - the new duration
    • setDuration

      public void setDuration(String param)
      Sets the duration.
      Parameters:
      param - the new duration
    • getId

      public int getId()
      Gets the id.
      Returns:
      the id
    • setId

      public void setId(int param)
      Sets the id.
      Parameters:
      param - the new id
    • setId

      public void setId(String param)
      Sets the id.
      Parameters:
      param - the new id
    • getSent

      public long getSent()
      Gets the sent.
      Returns:
      the sent
    • setSent

      public void setSent(long param)
      Sets the sent.
      Parameters:
      param - the new sent
    • setSent

      public void setSent(String param)
      Sets the sent.
      Parameters:
      param - the new sent
    • getValid

      public boolean getValid()
      Gets the valid.
      Returns:
      the valid
    • setValid

      public void setValid(boolean param)
      Sets the valid.
      Parameters:
      param - the new valid
    • setValid

      public void setValid(String param)
      Sets the valid.
      Parameters:
      param - the new valid
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object