|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Storage Resource interface
Method Summary | |
java.net.URI |
generateSURL(java.lang.String storagePath)
generate a SURL on this StorageResource. |
java.rmi.Remote |
getEndpoint()
Return the SOAP endpoint for this Storage Resource. |
FileInfo |
getFileInfo(java.net.URI file)
|
StorageElementInfo |
getInfo()
|
SRMRequestStatus |
getRequestStatus(java.lang.String requestId)
|
boolean |
isValidSurl(java.net.URI surl)
Is a surl valid for a given Storage Resource. |
SRMRequestStatus |
prepareToGet(java.net.URI surl,
java.lang.String protocol)
|
SRMRequestStatus |
prepareToPut(java.net.URI surl,
long size,
java.lang.String protocol)
|
void |
putActive(SRMRequestStatus request)
|
void |
putDone(SRMRequestStatus request)
|
Method Detail |
public FileInfo getFileInfo(java.net.URI file) throws InfoServiceException, java.io.FileNotFoundException, StorageResourceException
InfoServiceException
java.io.FileNotFoundException
StorageResourceException
public SRMRequestStatus prepareToGet(java.net.URI surl, java.lang.String protocol) throws StorageResourceException, UnknownProtocolException
StorageResourceException
UnknownProtocolException
public SRMRequestStatus prepareToPut(java.net.URI surl, long size, java.lang.String protocol) throws StorageResourceException, UnknownProtocolException
StorageResourceException
UnknownProtocolException
public void putDone(SRMRequestStatus request) throws StorageResourceException
StorageResourceException
public void putActive(SRMRequestStatus request) throws StorageResourceException
StorageResourceException
public SRMRequestStatus getRequestStatus(java.lang.String requestId) throws StorageResourceException
StorageResourceException
public java.rmi.Remote getEndpoint()
null
if the StorageResource
does not have a SOAP
control channel
public java.net.URI generateSURL(java.lang.String storagePath) throws StorageResourceException
null
use this as a path below the VO specific root directory.
Otherwise construct a path.
It returns null
if the user's VO is not supported on that
StorageResource.
storagePath
- the storage path we would like, or null
StorageResourceException
public boolean isValidSurl(java.net.URI surl)
surl
- the SURL
true
if the surl is valid, otherwise falsepublic StorageElementInfo getInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |