public interface ReplicaSelector
Modifier and Type | Field and Description |
---|---|
static String |
LOCAL_SITE_HANDLE
The local site handle.
|
static String |
VERSION
The version of this API.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final String VERSION
static final String LOCAL_SITE_HANDLE
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.ReplicaLocation
String description()
Copyright © 2011 The University of Southern California. All Rights Reserved.