Class DestinationCache
java.lang.Object
ecmwf.ecpds.master.DestinationCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone.Gets the aliases.Gets the associations.intGets the bad data transfers count.longGets the creation time.Gets the destination.Gets the destination ec users.Gets the destination name.Gets the destination scheduler cache.booleanChecks if is destination scheduler cache expired.voidsetAliases(Map<String, Alias> aliases) Sets the aliases.voidsetAssociations(Map<String, Association> associations) Sets the associations.voidsetBadDataTransfersCount(Integer badDataTransfersCount) Sets the bad data transfers count.voidsetDestination(Destination destination) Sets the destination.voidsetDestinationECUsers(Map<String, DestinationECUser> destinationECUsers) Sets the destination ec users.voidsetDestinationSchedulerCache(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
-