Class TransferServer
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.TransferServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IntegerThe hos name for replication.protected HostThe host for replication.protected TransferGroupThe transfer group.protected StringThe trg name.protected booleanThe trs active.protected booleanThe trs check.protected StringThe trs host.protected longThe trs last update.protected intThe trs max inactivity.protected IntegerThe trs max transfers.protected StringThe trs name.protected intThe trs port.protected booleanThe 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 TypeMethodDescriptionbooleanEquals.booleanGets the active.booleangetCheck()Gets the check.getHost()Gets the host.Gets the host for replication.Gets the host for replication name.longGets the last update.intGets the max inactivity.Gets the max transfers.intgetMaxTransfers(int defaultValue) Gets the max transfers.getName()Gets the name.intgetPort()Gets the port.booleanGets the replicate.Gets the transfer group.Gets the transfer group name.inthashCode()Hash code.voidsetActive(boolean param) Sets the active.voidSets the active.voidsetCheck(boolean param) Sets the check.voidSets the check.voidSets the host.voidsetHostForReplication(Host param) Sets the host for replication.voidsetHostForReplicationName(String param) Sets the host for replication name.voidsetLastUpdate(long param) Sets the last update.voidsetLastUpdate(String param) Sets the last update.voidsetMaxInactivity(int param) Sets the max inactivity.voidsetMaxInactivity(String param) Sets the max inactivity.voidsetMaxTransfers(int param) Sets the max transfers.voidsetMaxTransfers(Integer param) Sets the max transfers.voidSets the name.voidsetPort(int param) Sets the port.voidSets the port.voidsetReplicate(boolean param) Sets the replicate.voidsetReplicate(String param) Sets the replicate.voidsetTransferGroup(TransferGroup param) Sets the transfer group.voidsetTransferGroupName(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
-
TransferServer
public TransferServer()Instantiates a new transfer server. -
TransferServer
-
-
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
-