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 TypeMethodDescriptionintGets the bad data transfers size.intGets 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.intGets the queue size.Gets the status.booleanGets the using internet.booleanChecks if is using primary host.voidsetBadDataTransfersSize(int badDataTransfersSize) Sets the bad data transfers size.voidsetBigSisterStatus(int i) Sets the big sister status.voidSets the big sister status comment.voidsetCalculationDate(Date calculationDate) Sets the calculation date.voidSets the currently used host name.voidsetLastTransfer(DataTransfer lastTransfer) Sets the last transfer.voidsetMonitoringDate(Date monitoringDate) Sets the monitoring date.voidSets the primary host.voidsetQueueSize(int queueSize) Sets the queue size.voidSets 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, setTransferStatusMethods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getId, getIntId, insert, insert, isNew, save, save, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getBeanInterfaceName, getId, getIntId, insert, insert, isNew, save, save, setIdMethods 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:
getMonitoringDatein interfaceDestinationStatus- Returns:
- the monitoring date
-
setMonitoringDate
Sets the monitoring date. Sets the monitoring date.- Specified by:
setMonitoringDatein interfaceDestinationStatus- Parameters:
monitoringDate- the new monitoring date
-
getCalculationDate
When was updated this information. Gets the calculation date.- Specified by:
getCalculationDatein interfaceDestinationStatus- Returns:
- the calculation date
-
setCalculationDate
Sets the calculation date. Sets the calculation date.- Specified by:
setCalculationDatein 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:
getBadDataTransfersSizein 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:
setBadDataTransfersSizein interfaceDestinationStatus- Parameters:
badDataTransfersSize- the new bad data transfers size
-
getLastTransfer
Gets the last transfer. Gets the last transfer.- Specified by:
getLastTransferin interfaceDestinationStatus- Returns:
- the last transfer
-
setLastTransfer
Sets the last transfer. Sets the last transfer.- Specified by:
setLastTransferin interfaceDestinationStatus- Parameters:
lastTransfer- the new last transfer
-
getQueueSize
public int getQueueSize()Gets the queue size. Gets the queue size.- Specified by:
getQueueSizein interfaceDestinationStatus- Returns:
- the queue size
-
setQueueSize
public void setQueueSize(int queueSize) Sets the queue size. Sets the queue size.- Specified by:
setQueueSizein interfaceDestinationStatus- Parameters:
queueSize- the new queue size
-
getStatus
Gets the status. Gets the status.- Specified by:
getStatusin interfaceDestinationStatus- Returns:
- the status
-
setStatus
Sets the status. Sets the status.- Specified by:
setStatusin interfaceDestinationStatus- Parameters:
status- the new status
-
getUsingInternet
public boolean getUsingInternet()Gets the using internet. Gets the using internet.- Specified by:
getUsingInternetin interfaceDestinationStatus- Returns:
- If the main host is using internet or something else.
-
getPrimaryHost
Gets the primary host. Gets the primary host.- Specified by:
getPrimaryHostin interfaceDestinationStatus- Returns:
- the primary host
-
setPrimaryHost
Sets the primary host. Sets the primary host.- Specified by:
setPrimaryHostin interfaceDestinationStatus- Parameters:
h- the new primary host
-
getCurrentlyUsedHostName
Gets the currently used host name. Gets the currently used host name.- Specified by:
getCurrentlyUsedHostNamein interfaceDestinationStatus- Returns:
- the currently used host name
-
setCurrentlyUsedHostName
Sets the currently used host name. Sets the currently used host name.- Specified by:
setCurrentlyUsedHostNamein 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:
isUsingPrimaryHostin interfaceDestinationStatus- Returns:
- true, if is using primary host
-
getBigSisterStatus
public int getBigSisterStatus()Gets the big sister status. Gets the big sister status.- Specified by:
getBigSisterStatusin interfaceDestinationStatus- Returns:
- the big sister status
-
setBigSisterStatus
public void setBigSisterStatus(int i) Sets the big sister status. Sets the big sister status.- Specified by:
setBigSisterStatusin interfaceDestinationStatus- Parameters:
i- the new big sister status
-
getBigSisterStatusComment
Gets the big sister status comment. Gets the big sister status comment.- Specified by:
getBigSisterStatusCommentin interfaceDestinationStatus- Returns:
- the big sister status comment
-
setBigSisterStatusComment
Sets the big sister status comment. Sets the big sister status comment.- Specified by:
setBigSisterStatusCommentin interfaceDestinationStatus- Parameters:
s- the new big sister status comment
-
toString
-