|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.viewerproxy.LocalCDXCache
JobIndexCache
-mechanism instead
public class LocalCDXCache
This class handles retrieval and merging of index.cdx files for sets of jobs. It has been designed to allow multiple instances to use the same cache dir without interfering with each other, even if they run in separate VMs.
Constructor Summary | |
---|---|
LocalCDXCache(ViewerArcRepositoryClient arcRepos)
Deprecated. Construct a new CDXCache object. |
Method Summary | |
---|---|
Index<java.util.Set<java.lang.Long>> |
getIndex(java.util.Set<java.lang.Long> jobIDs)
Deprecated. Get a job index for the given list of IDs. |
void |
requestIndex(java.util.Set<java.lang.Long> jobSet,
java.lang.Long harvestId)
Deprecated. Request an index from the indexserver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalCDXCache(ViewerArcRepositoryClient arcRepos)
arcRepos
- Viewer ArcRepositoryClientMethod Detail |
---|
public Index<java.util.Set<java.lang.Long>> getIndex(java.util.Set<java.lang.Long> jobIDs)
getIndex
in interface JobIndexCache
jobIDs
- List of job IDs to generate index for.
public void requestIndex(java.util.Set<java.lang.Long> jobSet, java.lang.Long harvestId)
JobIndexCache
requestIndex
in interface JobIndexCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |