Skip to content

Application level api for icc

ToshiyukiTerashita edited this page Sep 10, 2010 · 1 revision

Application-level API

Procesure call From Clients To Gateways From Gateways To Storage From Storages
lookup_storages_for_basket_creation x x x x -
lookup_storages_for_basket_push_replication - - - x x
lookup_storages_for_basket_pull_replication - - - x x
lookup_storages_for_basket_retrieval x x x x -
pick_one - - - - -
create_basket x - - x -
replicate_basket - - - x x
replicated - - - x x
replace_basket x - - x -
prepare_to_commit x - - x x
commit x - - x x
rollback x - - x x
retrieve_baskets x x x x x
delete_baskets x x x x -
undelete_baskets x x x x -
insert_basket_entry - x - - x
drop_basket_entry - x - - x
Procesure call
storages = Basket::lookup_storages_for_basket_creation( creation_hints )
storages = Basket::lookup_storages_for_basket_push_replication( basket_id, creation_hints )
storages = Basket::lookup_storages_for_basket_pull_replication( basket_id, creation_hints )
storages = Basket::lookup_storages_for_basket_retrieval( basket_id, scheme, retrieval_criteria )
storage = storages.pick_one( criteria )
basket = storage.create_basket( new_basket_id )
basket = storage.replicate_basket( basket_id )
basket.replicated( basket_id )
basket.replace_basket( new_basket_id )
basket.prepare_to_commit()
basket.commit()
basket.rollback()
baskets = retrieve_baskets( basket_id, scheme, retrieve_criteria )
Basket::delete_baskets( basket_id )
Basket::undelete_baskets( basket_id )
Basket::insert_basket_entry( basket )
Basket::drop_basket_entry( basket )
Procesure call From Clients To Gateways From Gateways To Storage From Storages
storages = Basket::lookup_storages_for_basket_creation( creation_hints ) x x x x -
storages = Basket::lookup_storages_for_basket_push_replication( basket_id, creation_hints ) - - - x x
storages = Basket::lookup_storages_for_basket_pull_replication( basket_id, creation_hints ) - - - x x
storages = Basket::lookup_storages_for_basket_retrieval( basket_id, scheme, retrieval_criteria ) x x x x -
storage = storages.pick_one( criteria ) - - - - -
basket = storage.create_basket( new_basket_id ) x - - x -
basket = storage.replicate_basket( basket_id ) - - - x x
basket.replicated( basket_id ) - - - x x
basket.replace_basket( new_basket_id ) x - - x -
basket.prepare_to_commit() x - - x x
basket.commit() x - - x x
basket.rollback() x - - x x
baskets = retrieve_baskets( basket_id, scheme, retrieval_criteria ) x x x x x
Basket::delete_baskets( basket_id ) x x x x -
Basket::undelete_baskets( basket_id ) x x x x -
Basket::insert_basket_entry( basket ) - x - - x
Basket::drop_basket_entry( basket ) - x - - x