Uses of Interface
com.norconex.importer.handler.DocHandlerCache
Packages that use DocHandlerCache
Package
Description
-
Uses of DocHandlerCache in com.norconex.crawler.core.doc.pipelines.importer
Classes in com.norconex.crawler.core.doc.pipelines.importer that implement DocHandlerCacheModifier and TypeClassDescriptionclassBacks the genericDocHandlerCachedocument handlers are given with the crawler's ownCacheManager: an MVStore-backed file when the crawler runs standalone, or the crawl's distributed cache when clustered. -
Uses of DocHandlerCache in com.norconex.importer
Methods in com.norconex.importer with parameters of type DocHandlerCacheModifier and TypeMethodDescriptionvoidImporter.setCache(DocHandlerCache cache) Sets the cache document handlers use for results expensive to obtain more than once for the same input (e.g., a call to a paid external API). -
Uses of DocHandlerCache in com.norconex.importer.handler
Fields in com.norconex.importer.handler declared as DocHandlerCacheModifier and TypeFieldDescriptionstatic final DocHandlerCacheDocHandlerCache.NOOPA cache that holds nothing: every lookup is a miss, so theDocHandlerCache.Loaderalways runs.Methods in com.norconex.importer.handler that return DocHandlerCacheModifier and TypeMethodDescription@NonNull DocHandlerCacheDocHandlerContext.cache()Cache available to handlers for results expensive to obtain more than once for the same input.Methods in com.norconex.importer.handler with parameters of type DocHandlerCacheModifier and TypeMethodDescriptionDocHandlerContext.cache(@NonNull DocHandlerCache cache) Cache available to handlers for results expensive to obtain more than once for the same input.DocHandlerContext.DocHandlerContextBuilder.cache(@NonNull DocHandlerCache cache) Cache available to handlers for results expensive to obtain more than once for the same input.