- Enclosing interface:
NodeCache
public static interface NodeCache.Loader
Interface for loading nodes on cache miss.
Method Summary
Method Details
load
Load a node by key on cache miss.- Parameters:
key- the node key to look up, identifying one node in the database tree- Returns:
- the loaded value
- Throws:
IOException- if the backing store cannot be read to produce the node