public class DummyFetchManager extends java.lang.Object implements FetchManager
| Constructor and Description |
|---|
DummyFetchManager(Worker worker,
java.util.Properties dissemConfig) |
DummyFetchManager(Worker worker,
java.util.Properties dissemConfig,
Cache cache) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
updateCaches(RemoteStore store,
long onum,
AbstractGlob<?> update)
Updates the dissemination and worker caches with the given glob.
|
public DummyFetchManager(Worker worker, java.util.Properties dissemConfig)
public ObjectGroup fetch(RemoteStore store, long onum)
FetchManagerfetch in interface FetchManagerstore - the store.onum - the object identifier.public void destroy()
FetchManagerdestroy in interface FetchManagerpublic boolean updateCaches(RemoteStore store, long onum, AbstractGlob<?> update)
FetchManagerupdateCaches in interface FetchManager