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

EdgReplicaMetadataCatalog::ReplicaMetadataCatalogFactory Class Reference

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

List of all members.

Static Public Methods

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


Detailed Description

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

It also provides indices for efficient location of the mappings.


Member Function Documentation

ReplicaMetadataCatalog * getReplicaMetadataCatalog const std::string &    url,
int    timeOut = 30
[static]
 

Obtain the ReplicaMetadataCatalog at a given URL.

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