Interface DataTransfer
- All Superinterfaces:
ArrivalMonitoringParameters
,CollectionSizeBean
,ecmwf.web.model.ModelBean
,TransferMonitoringParameters
- All Known Implementing Classes:
DataTransferBaseBean
,DataTransferHeavyBean
,DataTransferLightBean
public interface DataTransfer
extends CollectionSizeBean, ArrivalMonitoringParameters, TransferMonitoringParameters
The Interface DataTransfer.
-
Field Summary
Fields inherited from interface ecmwf.ecpds.master.plugin.http.model.transfer.ArrivalMonitoringParameters
ANTICIPATION_TARGET1, ANTICIPATION_TARGET2, ANTICIPATION_TARGET3, ANTICIPATION_TARGET4, ARRIVAL_STATUS_BEFORE_PREDICTED, ARRIVAL_STATUS_BEFORE_TARGET1, ARRIVAL_STATUS_BEFORE_TARGET2, ARRIVAL_STATUS_NONE, ARRIVAL_STATUS_NOT_BEFORE_TARGET2, ARRIVAL_STATUS_NOT_BEFORE_TARGET3, ARRIVAL_STATUS_NOT_BEFORE_TARGET4, ARRIVAL_STATUS_OPERATORS_OK, COLORS
Fields inherited from interface ecmwf.ecpds.master.plugin.http.model.transfer.TransferMonitoringParameters
DAYS_TO_CONSIDER_BACK, TRANSFER_STATUS_BEFORE_PREDICTED, TRANSFER_STATUS_BEFORE_PREDICTED_PLUS_RANGE_BY_2, TRANSFER_STATUS_BEFORE_TARGET, TRANSFER_STATUS_NONE, TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_2, TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_4, TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_6, TRANSFER_STATUS_OPERATORS_OK
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAsap()
Gets the asap.boolean
Gets the backup.Gets the backup host.Gets the backup host name.boolean
Gets the can be downloaded.boolean
Gets the can be put on hold.boolean
Gets the can be requeued.boolean
Gets the can be stopped.Gets the comment.getCopy()
Gets the copy.Gets the data file.long
Gets the data file id.boolean
Gets the deleted.Gets the destination.Gets the destination name.Gets the detailed status.long
Gets the duration.Gets the earliest time.boolean
Gets the expired.Gets the expiry date.Gets the failed time.The FIRST TIME a file is SUCCESSFULLY transferred.Gets the formatted comment.Gets the formatted duration.Gets the formatted sent.Gets the formatted size.Gets the formatted status.Gets the formatted transfer rate.double
Gets the formatted transfer rate in M bits per seconds.getHost()
Gets the host.Gets the host name.Gets the host nick name.Gets the identity.Gets the latest time.Gets the member state detailed status.Gets the member state formatted status.Gets the older transfers for same data file.Gets the predicted time.int
Gets the priority.int
Gets the progress.boolean
getProxy()
Gets the proxy.Gets the proxy host.Gets the proxy host name.Gets the queue time.The date of the LAST TIME a file transfer is finished, successfully OR NOT.boolean
Gets the replicated.int
Gets the requeue count.Gets the retrieval progress.Gets the retry time.Gets the scheduled time.getScheduledTimeMinusMinutes
(int minutesBefore) Gets the scheduled time minus minutes.long
getSent()
Gets the sent.long
getSize()
Gets the size.int
Gets the start count.Gets the start time.Gets the status.Gets the status code.Gets the target.Gets the target time.Gets the transfer history.Gets the transfer history after scheduled time.long
Gets the transfer rate.Gets the transfer server.Gets the transfer server name.Gets the unique key.ecmwf.web.model.users.User
getUser()
Gets the user.void
interruptRetrieval
(ecmwf.web.model.users.User u) Interrupt retrieval.boolean
isRetry()
Checks if is retry.void
putOnHold
(ecmwf.web.model.users.User u) Put on hold.void
requeue
(ecmwf.web.model.users.User u) Requeue.void
scheduleNow
(ecmwf.web.model.users.User u) Schedule now.void
setBackupHostName
(String name) Sets the backup host name.void
setDataFileId
(long id) Sets the data file id.void
setDestinationName
(String name) Sets the destination name.void
setDuration
(long s) Sets the duration.void
Sets the expiry date.void
setExpiryDate
(Date date, ecmwf.web.model.users.User u) Sets the expiry date.void
Sets the finish time.void
setHostName
(String name) Sets the host name.void
setPriority
(int p, ecmwf.web.model.users.User u) Sets the priority.void
setProxyHostName
(String name) Sets the proxy host name.void
setRetry
(boolean b) Sets the retry.void
setSent
(long s) Sets the sent.void
setStartCount
(int i) Sets the start count.void
setStartTime
(Date d) Sets the start time.void
Sets the status.void
Sets the target.void
setTransferServerName
(String name) Sets the transfer server name.void
setUser
(ecmwf.web.model.users.User user) Sets the user.void
stop
(ecmwf.web.model.users.User u) Stop.Methods inherited from interface ecmwf.ecpds.master.plugin.http.model.transfer.ArrivalMonitoringParameters
getArrivalEarliestTime, getArrivalLatestTime, getArrivalPredictedTime, getArrivalStatus, getArrivalTargetTime
Methods inherited from interface ecmwf.ecpds.master.plugin.http.model.CollectionSizeBean
getCollectionSize
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.transfer.TransferMonitoringParameters
getTransferEarliestTime, getTransferLatestTime, getTransferPredictedTime, getTransferStatus, getTransferStatusHexColor, getTransferTargetTime
-
Method Details
-
setUser
void setUser(ecmwf.web.model.users.User user) Sets the user.- Parameters:
user
- the new user
-
getUser
ecmwf.web.model.users.User getUser()Gets the user.- Returns:
- the user
-
getDataFile
Gets the data file.- Returns:
- the data file
- Throws:
TransferException
- the transfer exception
-
getDataFileId
long getDataFileId()Gets the data file id.- Returns:
- the data file id
-
getComment
-
getFormattedComment
-
getIdentity
-
getAsap
boolean getAsap()Gets the asap.- Returns:
- the asap
-
getDeleted
boolean getDeleted()Gets the deleted.- Returns:
- the deleted
-
getBackup
boolean getBackup()Gets the backup.- Returns:
- the backup
-
getProxy
boolean getProxy()Gets the proxy.- Returns:
- the proxy
-
getBackupHostName
-
getProxyHostName
-
getBackupHost
Gets the backup host.- Returns:
- the backup host
- Throws:
TransferException
- the transfer exception
-
getProxyHost
Gets the proxy host.- Returns:
- the proxy host
- Throws:
TransferException
- the transfer exception
-
getReplicated
boolean getReplicated()Gets the replicated.- Returns:
- the replicated
-
getUniqueKey
-
getSize
long getSize()Gets the size.- Returns:
- the size
-
getFormattedSize
-
getDestination
Gets the destination.- Returns:
- the destination
- Throws:
TransferException
- the transfer exception
-
getDestinationName
-
getExpiryDate
-
getExpired
boolean getExpired()Gets the expired.- Returns:
- the expired
-
getHost
Gets the host.- Returns:
- the host
- Throws:
TransferException
- the transfer exception
-
getHostNickName
-
getHostName
-
getPriority
int getPriority()Gets the priority.- Returns:
- the priority
-
getScheduledTime
-
getQueueTime
-
getScheduledTimeMinusMinutes
Gets the scheduled time minus minutes.- Parameters:
minutesBefore
- the minutes before- Returns:
- the scheduled time minus minutes
-
getStartTime
-
getRetryTime
-
getFinishTime
Date getFinishTime()The FIRST TIME a file is SUCCESSFULLY transferred. Even if it is requeued later and re-sent, this value won't change. This is to be used for monitoring, because operators don't want to be- Returns:
- the finish time
-
getRealFinishTime
Date getRealFinishTime()The date of the LAST TIME a file transfer is finished, successfully OR NOT.- Returns:
- the real finish time
-
getFailedTime
-
getStartCount
int getStartCount()Gets the start count.- Returns:
- the start count
-
getRequeueCount
int getRequeueCount()Gets the requeue count.- Returns:
- the requeue count
-
getStatus
Gets the status.- Returns:
- the status
- Throws:
TransferException
- the transfer exception
-
getFormattedStatus
Gets the formatted status.- Returns:
- the formatted status
- Throws:
TransferException
- the transfer exception
-
getMemberStateFormattedStatus
Gets the member state formatted status.- Returns:
- the member state formatted status
- Throws:
TransferException
- the transfer exception
-
getDetailedStatus
Gets the detailed status.- Returns:
- the detailed status
- Throws:
TransferException
- the transfer exception
-
getMemberStateDetailedStatus
Gets the member state detailed status.- Returns:
- the member state detailed status
- Throws:
TransferException
- the transfer exception
-
getStatusCode
-
getTarget
-
getRetrievalProgress
Gets the retrieval progress.- Returns:
- the retrieval progress
- Throws:
TransferException
- the transfer exception
-
getProgress
Gets the progress.- Returns:
- the progress
- Throws:
TransferException
- the transfer exception
-
getSent
Gets the sent.- Returns:
- the sent
- Throws:
TransferException
- the transfer exception
-
getFormattedSent
Gets the formatted sent.- Returns:
- the formatted sent
- Throws:
TransferException
- the transfer exception
-
getDuration
Gets the duration.- Returns:
- the duration
- Throws:
TransferException
- the transfer exception
-
getFormattedDuration
Gets the formatted duration.- Returns:
- the formatted duration
- Throws:
TransferException
- the transfer exception
-
getTransferRate
Gets the transfer rate.- Returns:
- the transfer rate
- Throws:
TransferException
- the transfer exception
-
getFormattedTransferRate
Gets the formatted transfer rate.- Returns:
- the formatted transfer rate
- Throws:
TransferException
- the transfer exception
-
getFormattedTransferRateInMBitsPerSeconds
Gets the formatted transfer rate in M bits per seconds.- Returns:
- the formatted transfer rate in M bits per seconds
- Throws:
TransferException
- the transfer exception
-
getCopy
-
isRetry
boolean isRetry()Checks if is retry.- Returns:
- true, if is retry
-
setRetry
void setRetry(boolean b) Sets the retry.- Parameters:
b
- the new retry
-
getTransferServer
Gets the transfer server.- Returns:
- the transfer server
- Throws:
TransferException
- the transfer exception
-
getTransferServerName
-
getTransferHistory
Gets the transfer history.- Returns:
- the transfer history
- Throws:
TransferException
- the transfer exception
-
getTransferHistoryAfterScheduledTime
Gets the transfer history after scheduled time.- Returns:
- the transfer history after scheduled time
- Throws:
TransferException
- the transfer exception
-
getOlderTransfersForSameDataFile
Gets the older transfers for same data file.- Returns:
- the older transfers for same data file
- Throws:
TransferException
- the transfer exception
-
setDataFileId
void setDataFileId(long id) Sets the data file id.- Parameters:
id
- the new data file id
-
setDestinationName
Sets the destination name.- Parameters:
name
- the new destination name
-
setExpiryDate
-
setHostName
-
setBackupHostName
Sets the backup host name.- Parameters:
name
- the new backup host name
-
setProxyHostName
Sets the proxy host name.- Parameters:
name
- the new proxy host name
-
setPriority
Sets the priority.- Parameters:
p
- the pu
- the u- Throws:
TransferException
- the transfer exception
-
setExpiryDate
Sets the expiry date.- Parameters:
date
- the dateu
- the u- Throws:
TransferException
- the transfer exception
-
setStartTime
-
setFinishTime
-
setStatus
-
setTarget
-
setTransferServerName
Sets the transfer server name.- Parameters:
name
- the new transfer server name
-
setSent
void setSent(long s) Sets the sent.- Parameters:
s
- the new sent
-
setDuration
void setDuration(long s) Sets the duration.- Parameters:
s
- the new duration
-
setStartCount
void setStartCount(int i) Sets the start count.- Parameters:
i
- the new start count
-
interruptRetrieval
Interrupt retrieval.- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
requeue
Requeue.- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
putOnHold
Put on hold.- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
stop
Stop.- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
scheduleNow
Schedule now.- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
getCanBeRequeued
boolean getCanBeRequeued()Gets the can be requeued.- Returns:
- the can be requeued
-
getCanBePutOnHold
boolean getCanBePutOnHold()Gets the can be put on hold.- Returns:
- the can be put on hold
-
getCanBeStopped
boolean getCanBeStopped()Gets the can be stopped.- Returns:
- the can be stopped
-
getCanBeDownloaded
boolean getCanBeDownloaded()Gets the can be downloaded.- Returns:
- the can be downloaded
-
getEarliestTime
-
getLatestTime
-
getPredictedTime
-
getTargetTime
-