use of diskCacheV111.util.FileNotOnlineCacheException in project dcache by dCache.
the class PinRequestProcessor method selectReadPool.
private void selectReadPool(final PinTask task) throws CacheException {
try {
PoolSelector poolSelector = _poolMonitor.getPoolSelector(task.getFileAttributes(), task.getProtocolInfo(), null, Collections.EMPTY_SET);
SelectedPool pool = poolSelector.selectPinPool();
setPool(task, pool.name());
setStickyFlag(task, pool.name(), pool.address());
} catch (FileNotOnlineCacheException e) {
askPoolManager(task);
}
}
Aggregations