|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A SOAP API for the Replica Optimization part of the Replica
Manager. This is only used internally.
Note: For TB 2.0 'best' files are replicated to the "close SE".
All the parameter arrays should not contain null
entries and should all be the same length.
Method Summary | |
AccessCost[] |
getAccessCost(ROSFile[] file,
ROSComputingElement[] ce,
java.lang.String[] transport)
Calculate the expected file access cost per-Logical-File-Name. |
BestNetworkCost |
getBestNetworkCost(ROSFile file,
java.lang.String destinationSE)
Return the expected network costs (in seconds) and the file name for accessing the best replica. |
java.lang.String |
getInterfaceVersion()
|
SECost[] |
getSECost(java.lang.String seId,
java.lang.String[] pfns)
Calculate the access cost in terms of seconds for file on an StorageElement (SE). |
java.lang.String |
getVersion()
|
java.lang.String |
ping()
Send a contact message to the Optor server |
Method Detail |
public AccessCost[] getAccessCost(ROSFile[] file, ROSComputingElement[] ce, java.lang.String[] transport)
ce
- the array of ROSComputingElement.transport
- FileHandler to be used.
AccessCost
array in same order as
ce
arraypublic BestNetworkCost getBestNetworkCost(ROSFile file, java.lang.String destinationSE)
file
- ROS File.destinationSE
- destination StorageElement.
public SECost[] getSECost(java.lang.String seId, java.lang.String[] pfns)
seId
- ID of the SE.pfns
- list of PFNs (SFNs) on the respective SE.
public java.lang.String ping()
public java.lang.String getVersion()
public java.lang.String getInterfaceVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |