Class DataTransfer
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.DataTransfer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HostThe backup host.protected StringThe compressed.protected booleanThe compressedOnTheFly.protected StringThe connect options.protected longThe daf id.protected booleanThe asap.protected BigDecimalThe dat backup time.protected StringThe dat comment.protected booleanThe dat deleted.protected longThe dat duration.protected booleanThe event.protected BigDecimalThe dat expiry time.protected BigDecimalThe dat failed time.protected BigDecimalThe dat finish time.protected BigDecimalThe dat first finish time.protected longThe dat id.protected StringThe dat identity.protected intThe dat priority.protected BigDecimalThe dat proxy time.protected BigDecimalThe dat put time.protected BigDecimalThe dat queue time.protected intThe dat replicate count.protected BigDecimalThe dat replicate time.protected booleanThe dat replicated.protected intThe dat requeue count.protected intThe dat requeue history.protected BigDecimalThe dat retry time.protected BigDecimalThe dat scheduled time.protected longThe dat sent.protected longThe dat size.protected intThe dat start count.protected BigDecimalThe dat start time.protected StringThe dat target.protected BigDecimalThe dat time base.protected longThe dat time step.protected StringThe dat unique key.protected StringThe dat user status.protected DataFileThe data file.protected StringThe des name.protected DestinationThe destination.protected longAllow passing the duration on close from the mover to the master *.protected IntegerThe hos name.protected IntegerThe hos name backup.protected IntegerThe hos name proxy.protected HostThe host.protected MonitoringValueThe monitoring value.protected LongThe mov id.protected StringThe mover name.protected booleanAllow triggering a notification *.protected TransferServerThe original transfer server.protected HostThe proxy host.protected StringAllow passing the proxy name if sent from a proxy *.protected doubleThe ratio.protected StringThe sta code.protected StringThe statistics.protected TransferServerThe transfer server.protected StringThe trs name.protected StringThe 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 TypeMethodDescriptionbooleanEquals.booleangetAsap()Gets the asap.Gets the backup host.Gets the backup host name.Gets the backup time.Gets the comment.Gets the compressed.booleanGets the compressedOnTheFly.Gets the connect options.Gets the data file.longGets the data file id.booleanGets the deleted.Gets the destination.Gets the destination name.longGets the duration.longGets the duration on close.booleangetEvent()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.longgetId()Gets the id.Gets the identity.Gets the monitoring value.Gets the monitoring value id.Gets the mover name.booleanGets the notify.Gets the original transfer server.Gets the original transfer server name.intGets 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.doublegetRatio()Gets the ratio.intGets the replicate count.booleanGets the replicated.Gets the replicate time.intGets the requeue count.intGets the requeue history.Gets the retry time.Gets the scheduled time.longgetSent()Gets the sent.longgetSize()Gets the size.intGets the start count.Gets the start time.Gets the statistics.Gets the status code.Gets the target.Gets the time base.longGets the time step.Gets the transfer server.Gets the transfer server name.Gets the unique key.Gets the user status.inthashCode()Hash code.voidsetAsap(boolean param) Sets the asap.voidSets the asap.voidsetBackupHost(Host param) Sets the backup host.voidsetBackupHostName(String param) Sets the backup host name.voidsetBackupTime(Timestamp param) Sets the backup time.voidsetComment(String param) Sets the comment.voidsetCompressed(String param) Sets the compressed.voidsetCompressedOnTheFly(boolean param) Sets the compressedOnTheFly.voidsetConnectOptions(String param) Sets the connect options.voidsetDataFile(DataFile param) Sets the data file.voidsetDataFileId(long param) Sets the data file id.voidsetDataFileId(String param) Sets the data file id.voidsetDeleted(boolean param) Sets the deleted.voidsetDeleted(String param) Sets the deleted.voidsetDestination(Destination param) Sets the destination.voidsetDestinationName(String param) Sets the destination name.voidsetDuration(long param) Sets the duration.voidsetDuration(String param) Sets the duration.voidsetDurationOnClose(long param) Sets the duration on close.voidsetEvent(boolean param) Sets the event.voidSets the event.voidsetExpiryTime(Timestamp param) Sets the expiry time.voidsetFailedTime(Timestamp param) Sets the failed time.voidsetFinishTime(Timestamp param) Sets the finish time.voidsetFirstFinishTime(Timestamp param) Sets the first finish time.voidSets the host.voidsetHostName(String param) Sets the host name.voidsetId(long param) Sets the id.voidSets the id.voidsetIdentity(String param) Sets the identity.voidSets the monitoring value.voidsetMonitoringValueId(Long param) Sets the monitoring value id.voidsetMoverName(String moverName) Sets the mover name.voidsetNotify(boolean param) Sets the notify.voidSets the original transfer server.voidSets the original transfer server name.voidsetPriority(int param) Sets the priority.voidsetPriority(String param) Sets the priority.voidsetProxyHost(Host param) Sets the proxy host.voidsetProxyHostName(String param) Sets the proxy host name.voidsetProxyName(String param) Sets the proxy name.voidsetProxyTime(Timestamp param) Sets the proxy time.voidsetPutTime(Timestamp param) Sets the puts the time.voidsetQueueTime(Timestamp param) Sets the queue time.voidsetRatio(double ratio) Sets the ratio.voidsetReplicateCount(int param) Sets the replicate count.voidsetReplicateCount(String param) Sets the replicate count.voidsetReplicated(boolean param) Sets the replicated.voidsetReplicated(String param) Sets the replicated.voidsetReplicateTime(Timestamp param) Sets the replicate time.voidsetRequeueCount(int param) Sets the requeue count.voidsetRequeueCount(String param) Sets the requeue count.voidsetRequeueHistory(int param) Sets the requeue history.voidsetRequeueHistory(String param) Sets the requeue history.voidsetRetryTime(Timestamp param) Sets the retry time.voidsetScheduledTime(Timestamp param) Sets the scheduled time.voidsetSent(long param) Sets the sent.voidSets the sent.voidsetSize(long param) Sets the size.voidSets the size.voidsetStartCount(int param) Sets the start count.voidsetStartCount(String param) Sets the start count.voidsetStartTime(Timestamp param) Sets the start time.voidsetStatistics(String statistics) Sets the statistics.voidsetStatusCode(String param) Sets the status code.voidSets the target.voidsetTimeBase(Timestamp param) Sets the time base.voidsetTimeStep(long param) Sets the time step.voidsetTimeStep(String param) Sets the time step.voidsetTransferServer(TransferServer param) Sets the transfer server.voidsetTransferServerName(String param) Sets the transfer server name.voidsetUniqueKey(String param) Sets the unique key.voidsetUserStatus(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
-