Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- getTransferGroupName()
- setTransferGroupName(String)
- getActive()
- setActive(boolean)
- setActive(String)
- getReplicate()
- setReplicate(boolean)
- setReplicate(String)
- getCheck()
- setCheck(boolean)
- setCheck(String)
- getHost()
- setHost(String)
- getLastUpdate()
- setLastUpdate(long)
- setLastUpdate(String)
- getMaxInactivity()
- setMaxInactivity(int)
- setMaxInactivity(String)
- getMaxTransfers()
- setMaxTransfers(Integer)
- setMaxTransfers(int)
- getMaxTransfers(int)
- getName()
- setName(String)
- getHostForReplicationName()
- setHostForReplicationName(String)
- getPort()
- setPort(int)
- setPort(String)
- getTransferGroup()
- setTransferGroup(TransferGroup)
- getHostForReplication()
- setHostForReplication(Host)
- hashCode()
- equals(Object)
Class TransferServer
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.TransferServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integer
The hos name for replication.protected Host
The host for replication.protected TransferGroup
The transfer group.protected String
The trg name.protected boolean
The trs active.protected boolean
The trs check.protected String
The trs host.protected long
The trs last update.protected int
The trs max inactivity.protected Integer
The trs max transfers.protected String
The trs name.protected int
The trs port.protected boolean
The trs replicate.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new transfer server.TransferServer
(String name) Instantiates a new transfer server. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.boolean
Gets the active.boolean
getCheck()
Gets the check.getHost()
Gets the host.Gets the host for replication.Gets the host for replication name.long
Gets the last update.int
Gets the max inactivity.Gets the max transfers.int
getMaxTransfers
(int defaultValue) Gets the max transfers.getName()
Gets the name.int
getPort()
Gets the port.boolean
Gets the replicate.Gets the transfer group.Gets the transfer group name.int
hashCode()
Hash code.void
setActive
(boolean param) Sets the active.void
Sets the active.void
setCheck
(boolean param) Sets the check.void
Sets the check.void
Sets the host.void
setHostForReplication
(Host param) Sets the host for replication.void
setHostForReplicationName
(String param) Sets the host for replication name.void
setLastUpdate
(long param) Sets the last update.void
setLastUpdate
(String param) Sets the last update.void
setMaxInactivity
(int param) Sets the max inactivity.void
setMaxInactivity
(String param) Sets the max inactivity.void
setMaxTransfers
(int param) Sets the max transfers.void
setMaxTransfers
(Integer param) Sets the max transfers.void
Sets the name.void
setPort
(int param) Sets the port.void
Sets the port.void
setReplicate
(boolean param) Sets the replicate.void
setReplicate
(String param) Sets the replicate.void
setTransferGroup
(TransferGroup param) Sets the transfer group.void
setTransferGroupName
(String param) Sets the transfer group name.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
-
TRG_NAME
The trg name. -
TRS_REPLICATE
protected boolean TRS_REPLICATEThe trs replicate. -
TRS_ACTIVE
protected boolean TRS_ACTIVEThe trs active. -
TRS_CHECK
protected boolean TRS_CHECKThe trs check. -
TRS_HOST
The trs host. -
TRS_LAST_UPDATE
protected long TRS_LAST_UPDATEThe trs last update. -
TRS_MAX_INACTIVITY
protected int TRS_MAX_INACTIVITYThe trs max inactivity. -
TRS_MAX_TRANSFERS
The trs max transfers. -
TRS_NAME
The trs name. -
TRS_PORT
protected int TRS_PORTThe trs port. -
HOS_NAME_FOR_REPLICATION
The hos name for replication. -
transferGroup
The transfer group. -
hostForReplication
The host for replication.
-
-
Constructor Details
-
Method Details
-
getTransferGroupName
-
setTransferGroupName
Sets the transfer group name.- Parameters:
param
- the new transfer group name
-
getActive
public boolean getActive()Gets the active.- Returns:
- the active
-
setActive
public void setActive(boolean param) Sets the active.- Parameters:
param
- the new active
-
setActive
-
getReplicate
public boolean getReplicate()Gets the replicate.- Returns:
- the replicate
-
setReplicate
public void setReplicate(boolean param) Sets the replicate.- Parameters:
param
- the new replicate
-
setReplicate
-
getCheck
public boolean getCheck()Gets the check.- Returns:
- the check
-
setCheck
public void setCheck(boolean param) Sets the check.- Parameters:
param
- the new check
-
setCheck
-
getHost
-
setHost
-
getLastUpdate
public long getLastUpdate()Gets the last update.- Returns:
- the last update
-
setLastUpdate
public void setLastUpdate(long param) Sets the last update.- Parameters:
param
- the new last update
-
setLastUpdate
Sets the last update.- Parameters:
param
- the new last update
-
getMaxInactivity
public int getMaxInactivity()Gets the max inactivity.- Returns:
- the max inactivity
-
setMaxInactivity
public void setMaxInactivity(int param) Sets the max inactivity.- Parameters:
param
- the new max inactivity
-
setMaxInactivity
Sets the max inactivity.- Parameters:
param
- the new max inactivity
-
getMaxTransfers
-
setMaxTransfers
Sets the max transfers.- Parameters:
param
- the new max transfers
-
setMaxTransfers
public void setMaxTransfers(int param) Sets the max transfers.- Parameters:
param
- the new max transfers
-
getMaxTransfers
public int getMaxTransfers(int defaultValue) Gets the max transfers.- Parameters:
defaultValue
- the default value- Returns:
- the max transfers
-
getName
-
setName
-
getHostForReplicationName
Gets the host for replication name.- Returns:
- the host for replication name
-
setHostForReplicationName
Sets the host for replication name.- Parameters:
param
- the new host for replication name
-
getPort
public int getPort()Gets the port.- Returns:
- the port
-
setPort
public void setPort(int param) Sets the port.- Parameters:
param
- the new port
-
setPort
-
getTransferGroup
-
setTransferGroup
Sets the transfer group.- Parameters:
param
- the new transfer group
-
getHostForReplication
Gets the host for replication.- Returns:
- the host for replication
-
setHostForReplication
Sets the host for replication.- Parameters:
param
- the new host for replication
-
hashCode
-
equals
-