|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.edg.data.reptor.info.StorageElementInfo
The StorageElement class represents an EDG SE as stored in the
Information Service. This class is constructed by the InfoService
interface. It contains information about its
local replica catalog, the virtual organizations that may write
into it and the storage directories.
InfoService
Field Summary | |
static java.lang.String |
DISK
|
static java.lang.String |
EDG_SE
|
static java.lang.String |
SRM1
|
Constructor Summary | |
StorageElementInfo(java.lang.String name,
java.lang.String type,
java.lang.String seHost,
java.lang.String accessPoint,
java.util.Iterator protocols,
java.net.URL endpoint)
|
Method Summary | |
void |
addVODirectory(java.lang.String vo,
java.lang.String voDir)
|
java.lang.String |
getAccessPoint()
Get the access point if any |
java.lang.String |
getHost()
Get the host of the SE. |
java.lang.String |
getName()
Get the string identifyer (name) of the SE. |
java.net.URL |
getServiceEndpoint()
|
java.lang.String |
getType()
|
java.lang.String |
getVODirectory(java.lang.String vo)
Return the VO directory for the given VO |
java.lang.String[] |
getVOs()
Retrieve the Virtual Organizations known by this Storage Element. |
boolean |
hasVO(java.lang.String vo)
Return true or false depending whether a given VO is recognized by the Storage Element. |
boolean |
isClassicSE()
|
boolean |
isEdgSE()
|
boolean |
isSRM()
|
boolean |
isSupportedProtocol(java.lang.String protocol)
Returns true if the Storage Element understands the given protocol. |
boolean |
isSupportedVO(java.lang.String vo)
|
StorageResource |
makeStorageResource(Configuration config)
|
void |
printInfo(InfoPrinter p)
|
java.util.Iterator |
protocols()
An Iterator over the accepted list of protocol names |
java.lang.String |
toString()
Print contents into a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String EDG_SE
public static final java.lang.String DISK
public static final java.lang.String SRM1
Constructor Detail |
public StorageElementInfo(java.lang.String name, java.lang.String type, java.lang.String seHost, java.lang.String accessPoint, java.util.Iterator protocols, java.net.URL endpoint) throws InfoServiceException
Method Detail |
public java.lang.String getName()
public java.lang.String getHost()
public java.net.URL getServiceEndpoint()
public java.lang.String getType()
public java.lang.String getAccessPoint()
public java.util.Iterator protocols()
Iterator
over the accepted list of protocol names
public java.lang.String[] getVOs()
public boolean hasVO(java.lang.String vo)
vo
- The string representation of the VO.
public boolean isSupportedVO(java.lang.String vo)
public java.lang.String getVODirectory(java.lang.String vo)
vo
-
public boolean isSupportedProtocol(java.lang.String protocol)
protocol
- the protocol identifier string
public void addVODirectory(java.lang.String vo, java.lang.String voDir)
public java.lang.String toString()
public boolean isSRM()
public boolean isEdgSE()
public boolean isClassicSE()
public StorageResource makeStorageResource(Configuration config) throws StorageResourceException
StorageResourceException
public void printInfo(InfoPrinter p)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |