Class DestinationCache
java.lang.Object
ecmwf.ecpds.master.DestinationCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clone.Gets the aliases.Gets the associations.int
Gets the bad data transfers count.long
Gets the creation time.Gets the destination.Gets the destination ec users.Gets the destination name.Gets the destination scheduler cache.boolean
Checks if is destination scheduler cache expired.void
setAliases
(Map<String, Alias> aliases) Sets the aliases.void
setAssociations
(Map<String, Association> associations) Sets the associations.void
setBadDataTransfersCount
(Integer badDataTransfersCount) Sets the bad data transfers count.void
setDestination
(Destination destination) Sets the destination.void
setDestinationECUsers
(Map<String, DestinationECUser> destinationECUsers) Sets the destination ec users.void
setDestinationSchedulerCache
(DestinationSchedulerCache destinationSchedulerCache) Sets the destination scheduler cache.
-
Constructor Details
-
DestinationCache
public DestinationCache()
-
-
Method Details
-
getDestinationSchedulerCache
Gets the destination scheduler cache.- Returns:
- the destination scheduler cache
-
getCreationTime
public long getCreationTime()Gets the creation time.- Returns:
- time
-
isDestinationSchedulerCacheExpired
public boolean isDestinationSchedulerCacheExpired()Checks if is destination scheduler cache expired.- Returns:
- true, if is destination scheduler cache expired
-
setDestinationSchedulerCache
Sets the destination scheduler cache.- Parameters:
destinationSchedulerCache
- the new destination scheduler cache
-
getDestinationName
-
getAssociations
-
setAssociations
Sets the associations.- Parameters:
associations
- the associations
-
getAliases
-
setAliases
-
getDestinationECUsers
Gets the destination ec users.- Returns:
- the destination ec users
-
setDestinationECUsers
Sets the destination ec users.- Parameters:
destinationECUsers
- the destination ec users
-
getDestination
-
setDestination
Sets the destination.- Parameters:
destination
- the new destination
-
getBadDataTransfersCount
public int getBadDataTransfersCount()Gets the bad data transfers count.- Returns:
- the bad data transfers count
-
setBadDataTransfersCount
Sets the bad data transfers count.- Parameters:
badDataTransfersCount
- the new bad data transfers count
-
clone
-