Class DataTransfer
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.DataTransfer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Host
The backup host.protected String
The compressed.protected boolean
The compressedOnTheFly.protected String
The connect options.protected long
The daf id.protected boolean
The asap.protected BigDecimal
The dat backup time.protected String
The dat comment.protected boolean
The dat deleted.protected long
The dat duration.protected boolean
The event.protected BigDecimal
The dat expiry time.protected BigDecimal
The dat failed time.protected BigDecimal
The dat finish time.protected BigDecimal
The dat first finish time.protected long
The dat id.protected String
The dat identity.protected int
The dat priority.protected BigDecimal
The dat proxy time.protected BigDecimal
The dat put time.protected BigDecimal
The dat queue time.protected int
The dat replicate count.protected BigDecimal
The dat replicate time.protected boolean
The dat replicated.protected int
The dat requeue count.protected int
The dat requeue history.protected BigDecimal
The dat retry time.protected BigDecimal
The dat scheduled time.protected long
The dat sent.protected long
The dat size.protected int
The dat start count.protected BigDecimal
The dat start time.protected String
The dat target.protected BigDecimal
The dat time base.protected long
The dat time step.protected String
The dat unique key.protected String
The dat user status.protected DataFile
The data file.protected String
The des name.protected Destination
The destination.protected long
Allow passing the duration on close from the mover to the master *.protected Integer
The hos name.protected Integer
The hos name backup.protected Integer
The hos name proxy.protected Host
The host.protected MonitoringValue
The monitoring value.protected Long
The mov id.protected String
The mover name.protected boolean
Allow triggering a notification *.protected TransferServer
The original transfer server.protected Host
The proxy host.protected String
Allow passing the proxy name if sent from a proxy *.protected double
The ratio.protected String
The sta code.protected String
The statistics.protected TransferServer
The transfer server.protected String
The trs name.protected String
The trs name original.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new data transfer.DataTransfer
(long id) Instantiates a new data transfer. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.boolean
getAsap()
Gets the asap.Gets the backup host.Gets the backup host name.Gets the backup time.Gets the comment.Gets the compressed.boolean
Gets the compressedOnTheFly.Gets the connect options.Gets the data file.long
Gets the data file id.boolean
Gets the deleted.Gets the destination.Gets the destination name.long
Gets the duration.long
Gets the duration on close.boolean
getEvent()
Gets the event.Gets the expiry time.Gets the failed time.Gets the finish time.Gets the first finish time.getHost()
Gets the host.Gets the host name.long
getId()
Gets the id.Gets the identity.Gets the monitoring value.Gets the monitoring value id.Gets the mover name.boolean
Gets the notify.Gets the original transfer server.Gets the original transfer server name.int
Gets the priority.Gets the proxy host.Gets the proxy host name.Gets the proxy name.Gets the proxy time.Gets the puts the time.Gets the queue time.double
getRatio()
Gets the ratio.int
Gets the replicate count.boolean
Gets the replicated.Gets the replicate time.int
Gets the requeue count.int
Gets the requeue history.Gets the retry time.Gets the scheduled time.long
getSent()
Gets the sent.long
getSize()
Gets the size.int
Gets the start count.Gets the start time.Gets the statistics.Gets the status code.Gets the target.Gets the time base.long
Gets the time step.Gets the transfer server.Gets the transfer server name.Gets the unique key.Gets the user status.int
hashCode()
Hash code.void
setAsap
(boolean param) Sets the asap.void
Sets the asap.void
setBackupHost
(Host param) Sets the backup host.void
setBackupHostName
(String param) Sets the backup host name.void
setBackupTime
(Timestamp param) Sets the backup time.void
setComment
(String param) Sets the comment.void
setCompressed
(String param) Sets the compressed.void
setCompressedOnTheFly
(boolean param) Sets the compressedOnTheFly.void
setConnectOptions
(String param) Sets the connect options.void
setDataFile
(DataFile param) Sets the data file.void
setDataFileId
(long param) Sets the data file id.void
setDataFileId
(String param) Sets the data file id.void
setDeleted
(boolean param) Sets the deleted.void
setDeleted
(String param) Sets the deleted.void
setDestination
(Destination param) Sets the destination.void
setDestinationName
(String param) Sets the destination name.void
setDuration
(long param) Sets the duration.void
setDuration
(String param) Sets the duration.void
setDurationOnClose
(long param) Sets the duration on close.void
setEvent
(boolean param) Sets the event.void
Sets the event.void
setExpiryTime
(Timestamp param) Sets the expiry time.void
setFailedTime
(Timestamp param) Sets the failed time.void
setFinishTime
(Timestamp param) Sets the finish time.void
setFirstFinishTime
(Timestamp param) Sets the first finish time.void
Sets the host.void
setHostName
(String param) Sets the host name.void
setId
(long param) Sets the id.void
Sets the id.void
setIdentity
(String param) Sets the identity.void
Sets the monitoring value.void
setMonitoringValueId
(Long param) Sets the monitoring value id.void
setMoverName
(String moverName) Sets the mover name.void
setNotify
(boolean param) Sets the notify.void
Sets the original transfer server.void
Sets the original transfer server name.void
setPriority
(int param) Sets the priority.void
setPriority
(String param) Sets the priority.void
setProxyHost
(Host param) Sets the proxy host.void
setProxyHostName
(String param) Sets the proxy host name.void
setProxyName
(String param) Sets the proxy name.void
setProxyTime
(Timestamp param) Sets the proxy time.void
setPutTime
(Timestamp param) Sets the puts the time.void
setQueueTime
(Timestamp param) Sets the queue time.void
setRatio
(double ratio) Sets the ratio.void
setReplicateCount
(int param) Sets the replicate count.void
setReplicateCount
(String param) Sets the replicate count.void
setReplicated
(boolean param) Sets the replicated.void
setReplicated
(String param) Sets the replicated.void
setReplicateTime
(Timestamp param) Sets the replicate time.void
setRequeueCount
(int param) Sets the requeue count.void
setRequeueCount
(String param) Sets the requeue count.void
setRequeueHistory
(int param) Sets the requeue history.void
setRequeueHistory
(String param) Sets the requeue history.void
setRetryTime
(Timestamp param) Sets the retry time.void
setScheduledTime
(Timestamp param) Sets the scheduled time.void
setSent
(long param) Sets the sent.void
Sets the sent.void
setSize
(long param) Sets the size.void
Sets the size.void
setStartCount
(int param) Sets the start count.void
setStartCount
(String param) Sets the start count.void
setStartTime
(Timestamp param) Sets the start time.void
setStatistics
(String statistics) Sets the statistics.void
setStatusCode
(String param) Sets the status code.void
Sets the target.void
setTimeBase
(Timestamp param) Sets the time base.void
setTimeStep
(long param) Sets the time step.void
setTimeStep
(String param) Sets the time step.void
setTransferServer
(TransferServer param) Sets the transfer server.void
setTransferServerName
(String param) Sets the transfer server name.void
setUniqueKey
(String param) Sets the unique key.void
setUserStatus
(String param) Sets the user status.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
-
DAF_ID
protected long DAF_IDThe daf id. -
DAT_COMMENT
The dat comment. -
DAT_DELETED
protected boolean DAT_DELETEDThe dat deleted. -
DAT_DURATION
protected long DAT_DURATIONThe dat duration. -
DAT_EXPIRY_TIME
The dat expiry time. -
DAT_FAILED_TIME
The dat failed time. -
DAT_FINISH_TIME
The dat finish time. -
DAT_FIRST_FINISH_TIME
The dat first finish time. -
DAT_ID
protected long DAT_IDThe dat id. -
DAT_IDENTITY
The dat identity. -
DAT_PRIORITY
protected int DAT_PRIORITYThe dat priority. -
DAT_QUEUE_TIME
The dat queue time. New scheduled time when it is re-scheduled (the original scheduled time is not changed). -
DAT_REQUEUE_COUNT
protected int DAT_REQUEUE_COUNTThe dat requeue count. -
DAT_REPLICATE_COUNT
protected int DAT_REPLICATE_COUNTThe dat replicate count. -
DAT_REQUEUE_HISTORY
protected int DAT_REQUEUE_HISTORYThe dat requeue history. -
DAT_RETRY_TIME
The dat retry time. -
DAT_SCHEDULED_TIME
The dat scheduled time. -
DAT_SENT
protected long DAT_SENTThe dat sent. -
DAT_SIZE
protected long DAT_SIZEThe dat size. -
DAT_START_COUNT
protected int DAT_START_COUNTThe dat start count. -
DAT_START_TIME
The dat start time. When the TransferScheduler start the transmission. -
DAT_PUT_TIME
The dat put time. When the DataMover start the transmission. -
DAT_TARGET
The dat target. -
DAT_TIME_BASE
The dat time base. -
DAT_TIME_STEP
protected long DAT_TIME_STEPThe dat time step. -
DAT_UNIQUE_KEY
The dat unique key. -
DAT_USER_STATUS
The dat user status. -
DES_NAME
The des name. -
HOS_NAME
The hos name. -
MOV_ID
The mov id. -
STA_CODE
The sta code. -
TRS_NAME
The trs name. -
TRS_NAME_ORIGINAL
The trs name original. -
DAT_REPLICATED
protected boolean DAT_REPLICATEDThe dat replicated. -
HOS_NAME_BACKUP
The hos name backup. -
HOS_NAME_PROXY
The hos name proxy. -
DAT_REPLICATE_TIME
The dat replicate time. -
DAT_BACKUP_TIME
The dat backup time. -
DAT_PROXY_TIME
The dat proxy time. -
DAT_ASAP
protected boolean DAT_ASAPThe asap. -
DAT_EVENT
protected boolean DAT_EVENTThe event. -
originalTransferServer
The original transfer server. -
transferServer
The transfer server. -
destination
The destination. -
dataFile
The data file. -
host
The host. -
backupHost
The backup host. -
proxyHost
The proxy host. -
monitoringValue
The monitoring value. -
moverName
The mover name. -
connectOptions
The connect options. -
notify
protected boolean notifyAllow triggering a notification *. -
durationOnClose
protected long durationOnCloseAllow passing the duration on close from the mover to the master *. -
proxyName
Allow passing the proxy name if sent from a proxy *. -
ratio
protected double ratioThe ratio. -
statistics
The statistics. -
compressed
The compressed. -
compressedOnTheFly
protected boolean compressedOnTheFlyThe compressedOnTheFly.
-
-
Constructor Details
-
DataTransfer
public DataTransfer()Instantiates a new data transfer. -
DataTransfer
public DataTransfer(long id) Instantiates a new data transfer.- Parameters:
id
- the id
-
-
Method Details
-
getMoverName
-
setMoverName
Sets the mover name.- Parameters:
moverName
- the new mover name
-
getRatio
public double getRatio()Gets the ratio.- Returns:
- the ratio
-
setRatio
public void setRatio(double ratio) Sets the ratio.- Parameters:
ratio
- the ratio
-
getDataFileId
public long getDataFileId()Gets the data file id.- Returns:
- the data file id
-
setDataFileId
public void setDataFileId(long param) Sets the data file id.- Parameters:
param
- the new data file id
-
setDataFileId
Sets the data file id.- Parameters:
param
- the new data file id
-
getComment
-
setComment
-
getDeleted
public boolean getDeleted()Gets the deleted.- Returns:
- the deleted
-
setDeleted
public void setDeleted(boolean param) Sets the deleted.- Parameters:
param
- the new deleted
-
getNotify
public boolean getNotify()Gets the notify.- Returns:
- the deleted
-
setNotify
public void setNotify(boolean param) Sets the notify.- Parameters:
param
- the new deleted
-
getCompressedOnTheFly
public boolean getCompressedOnTheFly()Gets the compressedOnTheFly.- Returns:
- the compressedOnTheFly
-
setCompressedOnTheFly
public void setCompressedOnTheFly(boolean param) Sets the compressedOnTheFly.- Parameters:
param
- the new compressedOnTheFly
-
getCompressed
-
setCompressed
-
getStatistics
-
setStatistics
Sets the statistics.- Parameters:
statistics
- the new statistics
-
setDeleted
-
getAsap
public boolean getAsap()Gets the asap.- Returns:
- the asap
-
setAsap
public void setAsap(boolean param) Sets the asap.- Parameters:
param
- the new asap
-
setAsap
-
getEvent
public boolean getEvent()Gets the event.- Returns:
- the event
-
setEvent
public void setEvent(boolean param) Sets the event.- Parameters:
param
- the new event
-
setEvent
-
getReplicated
public boolean getReplicated()Gets the replicated.- Returns:
- the replicated
-
setReplicated
public void setReplicated(boolean param) Sets the replicated.- Parameters:
param
- the new replicated
-
setReplicated
-
getBackupHostName
-
setBackupHostName
Sets the backup host name.- Parameters:
param
- the new backup host name
-
getProxyHostName
-
setProxyHostName
Sets the proxy host name.- Parameters:
param
- the new proxy host name
-
getDuration
public long getDuration()Gets the duration.- Returns:
- the duration
-
setDuration
public void setDuration(long param) Sets the duration.- Parameters:
param
- the new duration
-
getDurationOnClose
public long getDurationOnClose()Gets the duration on close.- Returns:
- the duration
-
setDurationOnClose
public void setDurationOnClose(long param) Sets the duration on close.- Parameters:
param
- the new duration
-
getProxyName
-
setProxyName
-
setDuration
-
getExpiryTime
-
setExpiryTime
Sets the expiry time.- Parameters:
param
- the new expiry time
-
getFailedTime
-
setFailedTime
Sets the failed time.- Parameters:
param
- the new failed time
-
getFinishTime
-
setFinishTime
Sets the finish time.- Parameters:
param
- the new finish time
-
getFirstFinishTime
-
setFirstFinishTime
Sets the first finish time.- Parameters:
param
- the new first finish time
-
getId
public long getId()Gets the id.- Returns:
- the id
-
setId
public void setId(long param) Sets the id.- Parameters:
param
- the new id
-
setId
-
getIdentity
-
setIdentity
-
getPriority
public int getPriority()Gets the priority.- Returns:
- the priority
-
setPriority
public void setPriority(int param) Sets the priority.- Parameters:
param
- the new priority
-
setPriority
-
getQueueTime
-
setQueueTime
Sets the queue time.- Parameters:
param
- the new queue time
-
getRequeueCount
public int getRequeueCount()Gets the requeue count.- Returns:
- the requeue count
-
setRequeueCount
public void setRequeueCount(int param) Sets the requeue count.- Parameters:
param
- the new requeue count
-
setRequeueCount
Sets the requeue count.- Parameters:
param
- the new requeue count
-
getReplicateCount
public int getReplicateCount()Gets the replicate count.- Returns:
- the replicate count
-
setReplicateCount
public void setReplicateCount(int param) Sets the replicate count.- Parameters:
param
- the new replicate count
-
setReplicateCount
Sets the replicate count.- Parameters:
param
- the new replicate count
-
getRequeueHistory
public int getRequeueHistory()Gets the requeue history.- Returns:
- the requeue history
-
setRequeueHistory
public void setRequeueHistory(int param) Sets the requeue history.- Parameters:
param
- the new requeue history
-
setRequeueHistory
Sets the requeue history.- Parameters:
param
- the new requeue history
-
getRetryTime
-
setRetryTime
Sets the retry time.- Parameters:
param
- the new retry time
-
getScheduledTime
-
setScheduledTime
Sets the scheduled time.- Parameters:
param
- the new scheduled time
-
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
-
getSize
public long getSize()Gets the size.- Returns:
- the size
-
setSize
public void setSize(long param) Sets the size.- Parameters:
param
- the new size
-
setSize
-
getStartCount
public int getStartCount()Gets the start count.- Returns:
- the start count
-
setStartCount
public void setStartCount(int param) Sets the start count.- Parameters:
param
- the new start count
-
setStartCount
Sets the start count.- Parameters:
param
- the new start count
-
getStartTime
-
setStartTime
Sets the start time.- Parameters:
param
- the new start time
-
getPutTime
-
setPutTime
Sets the puts the time.- Parameters:
param
- the new puts the time
-
getTarget
-
setTarget
-
getTimeBase
-
setTimeBase
-
getReplicateTime
-
setReplicateTime
Sets the replicate time.- Parameters:
param
- the new replicate time
-
getBackupTime
-
setBackupTime
Sets the backup time.- Parameters:
param
- the new backup time
-
getProxyTime
-
setProxyTime
Sets the proxy time.- Parameters:
param
- the new proxy time
-
getTimeStep
public long getTimeStep()Gets the time step.- Returns:
- the time step
-
setTimeStep
public void setTimeStep(long param) Sets the time step.- Parameters:
param
- the new time step
-
setTimeStep
-
getUniqueKey
-
setUniqueKey
-
getUserStatus
-
setUserStatus
Sets the user status.- Parameters:
param
- the new user status
-
getDestinationName
-
setDestinationName
Sets the destination name.- Parameters:
param
- the new destination name
-
getHostName
-
setHostName
-
getMonitoringValueId
-
setMonitoringValueId
Sets the monitoring value id.- Parameters:
param
- the new monitoring value id
-
getStatusCode
-
setStatusCode
Sets the status code.- Parameters:
param
- the new status code
-
getTransferServerName
Gets the transfer server name.- Returns:
- the transfer server name
-
setTransferServerName
Sets the transfer server name.- Parameters:
param
- the new transfer server name
-
getOriginalTransferServerName
Gets the original transfer server name.- Returns:
- the original transfer server name
-
setOriginalTransferServerName
Sets the original transfer server name.- Parameters:
param
- the new original transfer server name
-
getTransferServer
-
setTransferServer
Sets the transfer server.- Parameters:
param
- the new transfer server
-
getOriginalTransferServer
Gets the original transfer server.- Returns:
- the original transfer server
-
setOriginalTransferServer
Sets the original transfer server.- Parameters:
param
- the new original transfer server
-
getDestination
-
setDestination
Sets the destination.- Parameters:
param
- the new destination
-
getDataFile
-
setDataFile
-
getHost
-
setHost
-
getBackupHost
-
setBackupHost
-
getProxyHost
-
setProxyHost
-
getMonitoringValue
Gets the monitoring value.- Returns:
- the monitoring value
-
setMonitoringValue
Sets the monitoring value.- Parameters:
param
- the new monitoring value
-
getConnectOptions
-
setConnectOptions
Sets the connect options.- Parameters:
param
- the new connect options
-
hashCode
-
equals
-