|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SiteCatalog
| Field Summary | |
|---|---|
static String |
c_prefix
Prefix for the property subset to use with this catalog. |
static String |
VERSION
The version of the API |
| Fields inherited from interface edu.isi.pegasus.planner.catalog.Catalog |
|---|
DB_ALL_PREFIX |
| Method Summary | |
|---|---|
int |
insert(SiteCatalogEntry entry)
Inserts a new mapping into the Site catalog. |
Set<String> |
list()
Lists the site handles for all the sites in the Site Catalog. |
int |
load(List<String> sites)
Loads up the Site Catalog implementation with the sites whose site handles are specified. |
SiteCatalogEntry |
lookup(String handle)
Retrieves the SiteCatalogEntry for a site. |
int |
remove(String handle)
Removes a site catalog entry matching the the handle. |
| Methods inherited from interface edu.isi.pegasus.planner.catalog.Catalog |
|---|
close, connect, isClosed |
| Field Detail |
|---|
static final String VERSION
static final String c_prefix
| Method Detail |
|---|
int load(List<String> sites)
throws SiteCatalogException
sites - the list of sites to be loaded.
SiteCatalogException - in case of error.
int insert(SiteCatalogEntry entry)
throws SiteCatalogException
entry - the SiteCatalogEntry object that describes
a site.
SiteCatalogException - in case of error.
Set<String> list()
throws SiteCatalogException
SiteCatalogException - in case of error.
SiteCatalogEntry lookup(String handle)
throws SiteCatalogException
SiteCatalogEntry for a site.
handle - the site handle / identifier.
null
if no match is found.
SiteCatalogException - in case of error.
int remove(String handle)
throws SiteCatalogException
handle - the site handle / identifier.
SiteCatalogException - in case of error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||