Class DestinationStatusBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.monitoring.MonitoringStatusBean
ecmwf.ecpds.master.plugin.http.dao.monitoring.DestinationStatusBean
- All Implemented Interfaces:
DestinationStatus
,MonitoringStatus
,ecmwf.web.model.ModelBean
The Class DestinationStatusBean.
-
Constructor Summary
ConstructorsConstructorDescriptionDestinationStatusBean
(String destination, boolean calculated) Instantiates a new destination status bean. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the bad data transfers size.int
Gets the big sister status.Gets the big sister status comment.When was updated this information.Gets the currently used host name.Gets the last transfer.The day we are monitoring.Gets the primary host.int
Gets the queue size.Gets the status.boolean
Gets the using internet.boolean
Checks if is using primary host.void
setBadDataTransfersSize
(int badDataTransfersSize) Sets the bad data transfers size.void
setBigSisterStatus
(int i) Sets the big sister status.void
Sets the big sister status comment.void
setCalculationDate
(Date calculationDate) Sets the calculation date.void
Sets the currently used host name.void
setLastTransfer
(DataTransfer lastTransfer) Sets the last transfer.void
setMonitoringDate
(Date monitoringDate) Sets the monitoring date.void
Sets the primary host.void
setQueueSize
(int queueSize) Sets the queue size.void
Sets the status.toString()
To string.Methods inherited from class ecmwf.ecpds.master.plugin.http.dao.monitoring.MonitoringStatusBean
getArrivalStatus, getBeanInterfaceName, getRealTimeArrivalStatus, getRealTimeTransferStatus, getTransferStatus, isCalculated, isPresent, reset, setArrivalStatus, setCalculated, setIsExpected, setPresent, setRealTimeArrivalStatus, setRealTimeTransferStatus, setTransferStatus
Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getId, getIntId, insert, insert, isNew, save, save, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getBeanInterfaceName, getId, getIntId, insert, insert, isNew, save, save, setId
Methods inherited from interface ecmwf.ecpds.master.plugin.http.model.monitoring.MonitoringStatus
getArrivalStatus, getRealTimeArrivalStatus, getRealTimeTransferStatus, getTransferStatus, isCalculated, isPresent, setArrivalStatus, setCalculated, setPresent, setRealTimeArrivalStatus, setRealTimeTransferStatus, setTransferStatus
-
Constructor Details
-
DestinationStatusBean
Instantiates a new destination status bean.- Parameters:
destination
- the destinationcalculated
- the calculated
-
-
Method Details
-
getMonitoringDate
The day we are monitoring. Gets the monitoring date.- Specified by:
getMonitoringDate
in interfaceDestinationStatus
- Returns:
- the monitoring date
-
setMonitoringDate
Sets the monitoring date. Sets the monitoring date.- Specified by:
setMonitoringDate
in interfaceDestinationStatus
- Parameters:
monitoringDate
- the new monitoring date
-
getCalculationDate
When was updated this information. Gets the calculation date.- Specified by:
getCalculationDate
in interfaceDestinationStatus
- Returns:
- the calculation date
-
setCalculationDate
Sets the calculation date. Sets the calculation date.- Specified by:
setCalculationDate
in interfaceDestinationStatus
- Parameters:
calculationDate
- the new calculation date
-
getBadDataTransfersSize
public int getBadDataTransfersSize()Gets the bad data transfers size. Gets the bad data transfers size.- Specified by:
getBadDataTransfersSize
in interfaceDestinationStatus
- Returns:
- the bad data transfers size
-
setBadDataTransfersSize
public void setBadDataTransfersSize(int badDataTransfersSize) Sets the bad data transfers size. Sets the bad data transfers size.- Specified by:
setBadDataTransfersSize
in interfaceDestinationStatus
- Parameters:
badDataTransfersSize
- the new bad data transfers size
-
getLastTransfer
Gets the last transfer. Gets the last transfer.- Specified by:
getLastTransfer
in interfaceDestinationStatus
- Returns:
- the last transfer
-
setLastTransfer
Sets the last transfer. Sets the last transfer.- Specified by:
setLastTransfer
in interfaceDestinationStatus
- Parameters:
lastTransfer
- the new last transfer
-
getQueueSize
public int getQueueSize()Gets the queue size. Gets the queue size.- Specified by:
getQueueSize
in interfaceDestinationStatus
- Returns:
- the queue size
-
setQueueSize
public void setQueueSize(int queueSize) Sets the queue size. Sets the queue size.- Specified by:
setQueueSize
in interfaceDestinationStatus
- Parameters:
queueSize
- the new queue size
-
getStatus
Gets the status. Gets the status.- Specified by:
getStatus
in interfaceDestinationStatus
- Returns:
- the status
-
setStatus
Sets the status. Sets the status.- Specified by:
setStatus
in interfaceDestinationStatus
- Parameters:
status
- the new status
-
getUsingInternet
public boolean getUsingInternet()Gets the using internet. Gets the using internet.- Specified by:
getUsingInternet
in interfaceDestinationStatus
- Returns:
- If the main host is using internet or something else.
-
getPrimaryHost
Gets the primary host. Gets the primary host.- Specified by:
getPrimaryHost
in interfaceDestinationStatus
- Returns:
- the primary host
-
setPrimaryHost
Sets the primary host. Sets the primary host.- Specified by:
setPrimaryHost
in interfaceDestinationStatus
- Parameters:
h
- the new primary host
-
getCurrentlyUsedHostName
Gets the currently used host name. Gets the currently used host name.- Specified by:
getCurrentlyUsedHostName
in interfaceDestinationStatus
- Returns:
- the currently used host name
-
setCurrentlyUsedHostName
Sets the currently used host name. Sets the currently used host name.- Specified by:
setCurrentlyUsedHostName
in interfaceDestinationStatus
- Parameters:
h
- the new currently used host name
-
isUsingPrimaryHost
public boolean isUsingPrimaryHost()Checks if is using primary host. Checks if is using primary host.- Specified by:
isUsingPrimaryHost
in interfaceDestinationStatus
- Returns:
- true, if is using primary host
-
getBigSisterStatus
public int getBigSisterStatus()Gets the big sister status. Gets the big sister status.- Specified by:
getBigSisterStatus
in interfaceDestinationStatus
- Returns:
- the big sister status
-
setBigSisterStatus
public void setBigSisterStatus(int i) Sets the big sister status. Sets the big sister status.- Specified by:
setBigSisterStatus
in interfaceDestinationStatus
- Parameters:
i
- the new big sister status
-
getBigSisterStatusComment
Gets the big sister status comment. Gets the big sister status comment.- Specified by:
getBigSisterStatusComment
in interfaceDestinationStatus
- Returns:
- the big sister status comment
-
setBigSisterStatusComment
Sets the big sister status comment. Sets the big sister status comment.- Specified by:
setBigSisterStatusComment
in interfaceDestinationStatus
- Parameters:
s
- the new big sister status comment
-
toString
-