org.glite.data.catalog.service.storageindex
Interface SEIndex

All Superinterfaces:
ServiceBase

public interface SEIndex
extends ServiceBase

An indexing interface from which the client can get a list of SEs where certain files are located.

Stereotype:
simple-interface

Method Summary
 java.lang.String[] listSEbyGUID(java.lang.String guid)
          List all SEs where the GUID has a replica.
 java.lang.String[] listSEbyLFN(java.lang.String lfn)
          List all SEs where the LFN has a replica.
 
Methods inherited from interface org.glite.data.catalog.service.ServiceBase
getInterfaceVersion, getSchemaVersion, getServiceMetadata, getVersion
 

Method Detail

listSEbyLFN

public java.lang.String[] listSEbyLFN(java.lang.String lfn)
                               throws InternalException,
                                      AuthorizationException,
                                      NotExistsException
List all SEs where the LFN has a replica.

Parameters:
lfn - The logical filename
Throws:
AuthorizationException - No access right to list SEs.
NotExistsException - No such lfn found.
InternalException

listSEbyGUID

public java.lang.String[] listSEbyGUID(java.lang.String guid)
                                throws InternalException,
                                       AuthorizationException,
                                       NotExistsException
List all SEs where the GUID has a replica.

Parameters:
guid - The GUID
Throws:
AuthorizationException - No access right to list SEs.
NotExistsException - No such guid found.
InternalException


Copyright © 2004 EU-EGEE