Class MasterManager
java.lang.Object
ecmwf.ecpds.master.MasterManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataAccessInterfacegetAI()Gets the ai.Gets the cat urls.static DataBaseInterfacegetDB()Gets the db.static Collection<DestinationCache> Gets the monitoring caches.static DataAccessInterfacegetDI()Gets the di.protected static ECUserGets the EC user.static ManagementInterfacegetMI()Gets the mi.protected static DestinationCachegetMonitoringCache(String destinationName) Gets the monitoring cache.static StringgetRoot()Gets the root.protected static voidinsertInCache(Alias alias) Insert in cache.protected static voidinsertInCache(Association association) Insert in cache.protected static voidinsertInCache(DestinationCache destinationCache) Insert in cache.protected static voidinsertInCache(Object object) Insert in cache.static booleanisReady()Checks if is ready.protected static voidremoveFromCache(Alias alias) Removes the from cache.protected static voidremoveFromCache(Association association) Removes the from cache.protected static voidremoveFromCache(Destination destination) Removes the from cache.protected static voidremoveFromCache(Host host) Removes the from cache.protected static voidremoveFromCache(Object object) Removes the from cache.protected static voidReset caches.protected static voidupdateCache(Alias alias) Update cache.protected static voidupdateCache(Association association) Update cache.protected static voidupdateCache(Destination destination) Update cache.protected static voidupdateCache(Host host) Update cache.protected static voidupdateCache(DestinationSchedulerCache destinationSchedulerCache) Update cache.protected static voidupdateCache(Object object) Update cache.
-
Constructor Details
-
MasterManager
public MasterManager()
-
-
Method Details
-
isReady
public static boolean isReady()Checks if is ready.- Returns:
- true, if is ready
-
getDB
Gets the db.- Returns:
- the db
- Throws:
DataBaseException- the data base exception
-
getMI
Gets the mi.- Returns:
- the mi
- Throws:
MasterException- the master exception
-
getAI
Gets the ai.- Returns:
- the ai
- Throws:
MasterException- the master exception
-
getDI
Gets the di.- Returns:
- the di
- Throws:
MasterException- the master exception
-
getDestinationCaches
Gets the monitoring caches.- Returns:
- the monitoring caches
-
getMonitoringCache
Gets the monitoring cache.- Parameters:
destinationName- the destination name- Returns:
- the monitoring cache
- Throws:
MasterException- the master exception
-
getECUser
-
updateCache
Update cache.- Parameters:
destinationSchedulerCache- the destination scheduler cache
-
updateCache
-
updateCache
-
updateCache
Update cache.- Parameters:
destination- the destination
-
updateCache
Update cache.- Parameters:
association- the association
-
updateCache
-
removeFromCache
Removes the from cache.- Parameters:
alias- the alias
-
removeFromCache
Removes the from cache.- Parameters:
host- the host
-
removeFromCache
Removes the from cache.- Parameters:
destination- the destination
-
removeFromCache
Removes the from cache.- Parameters:
association- the association
-
removeFromCache
Removes the from cache.- Parameters:
object- the object
-
insertInCache
-
insertInCache
Insert in cache.- Parameters:
association- the association
-
insertInCache
Insert in cache.- Parameters:
destinationCache- the destination cache
-
insertInCache
-
getCatUrls
-
resetCaches
protected static void resetCaches()Reset caches. -
getRoot
-