org.globus.replica.replicator.util
Interface ReplicaCatalogFilter
- public interface ReplicaCatalogFilter
This interface specifies methods for filtering Replica Catalogs. Users of
ReplicationManager may not want to use every available Replica Catalog in
their Grid environment. The method(s) of this interface allows users an
interface to allow them to manipulate the lookup behavior of the
ReplicationManager. Implementations of this interface MUST be thread safe.
- Since:
- 1.0
|
Method Summary |
java.util.Collection |
filterCatalogUrls(java.util.Collection catalogUrls)
This method filters a collection of Replica Catalog URLs based on an
unfiltered collection of Replica Catalog URLs. |
filterCatalogUrls
public java.util.Collection filterCatalogUrls(java.util.Collection catalogUrls)
- This method filters a collection of Replica Catalog URLs based on an
unfiltered collection of Replica Catalog URLs. Note:
Implementors MAY modify the original collection.
- Parameters:
catalogUrls - A Collection of Strings that
represent the URLs of Replica Catalogs.
- Returns:
- A
Collection containing Strings
that represent the URLs of Replica Catalogs. IMPORTANT:
Implementations MUST NOT return a null collection.
If no Catalogs URLs match the user criteria, the appropriate return
value will be an empty Collection object. - Since:
- 1.0