Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

EdgReplicaLocationService::ReplicaLocationService Class Reference

A ReplicaLocationService stores mappings from Logical filenames to Physical fileNames, along with attributes on those fileNames. More...

List of all members.

Static Public Methods

LocalReplicaCataloggetLocalReplicaCatalog (const std::string &url, int timeOut=30)
 Obtain the LocalReplicaCatalog at a given URL. More...


Detailed Description

A ReplicaLocationService stores mappings from Logical filenames to Physical fileNames, along with attributes on those fileNames.

It also provides indices for efficient location of the mappings.

Currently we only provide a single catalog, a LocalReplicaCatalog, which stores the LfnPfnMapping s as well as the attributes.


Member Function Documentation

LocalReplicaCatalog * getLocalReplicaCatalog const std::string &    url,
int    timeOut = 30
[static]
 

Obtain the LocalReplicaCatalog at a given URL.

Parameters:
url  the URL to look for the catalog
timeOut  the timeout value, positive means seconds negative microseconds, default is 30 seconds
Returns:
The catalog.
Exceptions:
NoSuchLocalReplicaCatalog  if no catalog exists at that URL
The EU DataGrid Project. All rights reserved.