|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReplicaSelector
A prototypical interface for a replica selector. It would be changed when Pegasus interfaces with the new RC API.
| Field Summary | |
|---|---|
static String |
LOCAL_SITE_HANDLE
The local site handle. |
static String |
VERSION
The version of this API. |
| Method Summary | |
|---|---|
String |
description()
Returns a short description of the replica selector, that is being implemented by the implementing class. |
ReplicaCatalogEntry |
selectReplica(ReplicaLocation rl,
String prefferedSite,
boolean allowLocalFileURLs)
Selects a single replica amongst all the replicas returned by the implementing Replica Mechanism. |
ReplicaLocation |
selectReplicas(ReplicaLocation rl,
String prefferedSite,
boolean allowLocalFileURLs)
Selects a replica amongst all the replicas returned by the implementing Replica Mechanism. |
| Field Detail |
|---|
static final String VERSION
static final String LOCAL_SITE_HANDLE
| Method Detail |
|---|
ReplicaLocation selectReplicas(ReplicaLocation rl,
String prefferedSite,
boolean allowLocalFileURLs)
rl - the ReplicaLocation object containing all
the pfn's associated with that LFN.prefferedSite - the preffered site for picking up the replicas.allowLocalFileURLs - indicates whether Replica Selector can select a replica
on the local site / submit host.
ReplicaLocation corresponding to the replicas selected.org.griphyn.cPlanner.classes.ReplicaLocation
ReplicaCatalogEntry selectReplica(ReplicaLocation rl,
String prefferedSite,
boolean allowLocalFileURLs)
rl - the ReplicaLocation object containing all
the pfn's associated with that LFN.prefferedSite - the preffered site for picking up the replicas.allowLocalFileURLs - indicates whether Replica Selector can select a replica
on the local site / submit host.
ReplicaCatalogEntry corresponding to the location selected.org.griphyn.cPlanner.classes.ReplicaLocationString description()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||