Method Summary |
|
public void | add(Map rces) Adds ReplicaCatalogEntries into the store. |
public void | add(String lfn, Collection tuples) Adds replica catalog entries into the store. |
public void | add(ReplicaLocation rl) Adds replica catalog entries into the store. |
public Object | clone() Returns the clone of the object. |
public boolean | containsLFN(String lfn) Returns a boolean indicating whether the store has a mapping for a
particular LFN or not.
Parameters: lfn - the logical file name of the file. |
protected ReplicaLocation | get(String key) |
public int | getLFNCount() Returns the number of LFN's for which the mappings are stored in the
store. |
public Set | getLFNs() Returns the set of LFN's for which the mappings are stored in the store. |
public Set | getLFNs(Set lfns) Returns a Set of lfns for which the mappings are stored in
the store, amongst the Set passed as input. |
public ReplicaLocation | getReplicaLocation(String lfn) Returns a ReplicaLocation corresponding to the LFN.
Parameters: lfn - the lfn for which the ReplicaLocation is required. |
protected Object | put(String key, ReplicaLocation value) Inserts entry in the store overwriting any existing entry.
Parameters: key - the key Parameters: value - ReplicaLocation object. |
public Iterator | replicaLocationIterator() Returns an iterator to the list of ReplicaLocation
objects stored in the store. |
public void | store(Map rces) Stores replica catalog entries into the store. |
public String | toString() Returns the textual description of the data class. |