fabric.dissemination
Interface FetchManager

All Known Implementing Classes:
DirectFetchManager, PastryFetchManager

public interface FetchManager

A FetchManager is responsible for retrieving objects from Stores. Workers may load different FetchManagers at run time to make use of different dissemination networks.


Method Summary
 void destroy()
          Called to destroy and clean up the fetch manager.
 ObjectGroup fetch(RemoteStore store, long onum)
          Fetches the glob identified by the given onum, located at the given store.
 

Method Detail

fetch

ObjectGroup fetch(RemoteStore store,
                  long onum)
                  throws FetchException
Fetches the glob identified by the given onum, located at the given store.

Parameters:
store - the store.
onum - the object identifier.
Returns:
the requested glob if fetch was successful.
Throws:
AccessException
UnreachableNodeException
FetchException

destroy

void destroy()
Called to destroy and clean up the fetch manager.