public class IndexClientFactory extends SettingsFactory<JobIndexCache>
Implementation note: This currently assumes that only one implementation exists, pointed out by the setting settings.common.indexClient.class, but that the cache variant in question is selected by a parameter to its getInstance method.
Constructor and Description |
---|
IndexClientFactory() |
Modifier and Type | Method and Description |
---|---|
static JobIndexCache |
getCDXInstance()
Get a cache of CDX files for a set of jobs.
|
static JobIndexCache |
getDedupCrawllogInstance()
Get a cache of Lucene index files for a set of jobs.
|
static JobIndexCache |
getFullCrawllogInstance()
Get a cache of Lucene index files for a set of jobs.
|
getInstance
public IndexClientFactory()
public static JobIndexCache getCDXInstance()
public static JobIndexCache getDedupCrawllogInstance()
public static JobIndexCache getFullCrawllogInstance()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.