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)
FetchManager
fetch
in interface FetchManager
store
- the store.onum
- the object identifier.public void destroy()
FetchManager
destroy
in interface FetchManager
public boolean updateCaches(RemoteStore store, long onum, AbstractGlob<?> update)
FetchManager
updateCaches
in interface FetchManager