|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.data.reptor.optimization.FakeOptor
This is a fake ROS in case the configuration is such that we should do all the fun even without it.
Constructor Summary | |
FakeOptor()
|
Method Summary | |
org.edg.data.ros.AccessCost[] |
getAccessCost(org.edg.data.ros.ROSFile[] files,
org.edg.data.ros.ROSComputingElement[] ce,
java.lang.String[] protocol)
Calculate the expected file access cost per-Logical-File-Name. |
org.edg.data.ros.BestNetworkCost |
getBestNetworkCost(org.edg.data.ros.ROSFile file,
java.lang.String destinationSE)
Return the FileName (PFN) of the best file in terms of network latencies. |
org.edg.data.ros.SECost[] |
getSECost(java.lang.String seId,
java.lang.String[] pfns)
This is not currently used by the RM. |
java.lang.String |
getVersion()
|
java.lang.String |
ping()
Send a contact message to the Optor server |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FakeOptor()
Method Detail |
public org.edg.data.ros.AccessCost[] getAccessCost(org.edg.data.ros.ROSFile[] files, org.edg.data.ros.ROSComputingElement[] ce, java.lang.String[] protocol) throws java.rmi.RemoteException
getAccessCost
in interface org.edg.data.ros.EdgReplicaOptimization
files
- the array of ROS File Names.ce
- the array of ROSComputingElement.protocol
- FileHandler to be used.
AccessCost
array in same order as
ce
array
java.rmi.RemoteException
public org.edg.data.ros.BestNetworkCost getBestNetworkCost(org.edg.data.ros.ROSFile file, java.lang.String destinationSE) throws java.rmi.RemoteException
getBestNetworkCost
in interface org.edg.data.ros.EdgReplicaOptimization
file
- ROS File.destinationSE
- destination StorageElement.
java.rmi.RemoteException
public org.edg.data.ros.SECost[] getSECost(java.lang.String seId, java.lang.String[] pfns) throws java.rmi.RemoteException
getSECost
in interface org.edg.data.ros.EdgReplicaOptimization
seId
- ID of the SE.pfns
- list of PFNs (SFNs) on the respective SE.
java.rmi.RemoteException
public java.lang.String ping()
ping
in interface org.edg.data.ros.EdgReplicaOptimization
public java.lang.String getVersion()
getVersion
in interface org.edg.data.ros.EdgReplicaOptimization
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |