Package com.norconex.importer.handler
Interface DocHandlerCache.Loader
- Enclosing interface:
DocHandlerCache
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Computes a value to be cached, for whichever key was not already in
the cache.
-
Method Summary
-
Method Details
-
load
Computes the value for the given key.- Parameters:
key- cache key- Returns:
- the value to cache
- Throws:
IOException- if the value could not be computed
-