|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.archive.indexserver.IndexServer
public class IndexServer
Index server. Handles request for lucene indexes of crawl logs and cdx indexes of jobs, using two multifilebasedcache objects as handlers. The server sets up handlers for three kinds of indexes (as defined by RequestType): A CDX index, where each index is one file, gzip-compressed. A DEDUP_CRAWL_LOG index, where each index is multiple files, gzip-compressed, making up a Lucene index of non-HTML files. A FULL_CRAWL_LOG index, where each index is multiple files, gzip-compressed, making up a Lucene index of all files.
Constructor Summary | |
---|---|
protected |
IndexServer()
Instantiates the two handlers, and starts listening for requests. |
Method Summary | |
---|---|
void |
cleanup()
Close the server. |
static IndexServer |
getInstance()
Get the unique index server instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected IndexServer()
Method Detail |
---|
public static IndexServer getInstance()
public void cleanup()
cleanup
in interface CleanupIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |