Class HostStats
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.HostStats
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimal
The check time.protected int
The connections.protected long
The duration.protected int
The hst id.protected long
The sent.protected boolean
The valid.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.Gets the check time.int
Gets the connections.long
Gets the duration.int
getId()
Gets the id.long
getSent()
Gets the sent.boolean
getValid()
Gets the valid.int
hashCode()
Hash code.void
setCheckTime
(Timestamp param) Sets the check time.void
setConnections
(int param) Sets the connections.void
setConnections
(String param) Sets the connections.void
setDuration
(long param) Sets the duration.void
setDuration
(String param) Sets the duration.void
setId
(int param) Sets the id.void
Sets the id.void
setSent
(long param) Sets the sent.void
Sets the sent.void
setValid
(boolean param) Sets the valid.void
Sets the valid.Methods inherited from class ecmwf.common.database.DataBaseObject
bigDecimalToTimestamp, clone, compare, compare, getCollectionSize, integerToInt, integerToString, setCollectionSize, strim, stringToInteger, stringToLong, stringToString, timestampToBigDecimal, toString, toString, toString, toString
-
Field Details
-
HST_ID
protected int HST_IDThe hst id. -
HST_CONNECTIONS
protected int HST_CONNECTIONSThe connections. -
HST_DURATION
protected long HST_DURATIONThe duration. -
HST_SENT
protected long HST_SENTThe sent. -
HST_VALID
protected boolean HST_VALIDThe valid. -
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
-
setCheckTime
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
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
-
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
-
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
-
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
-
hashCode
-
equals
-