Enclosing interface:
NodeCache

public static interface NodeCache.Loader
Interface for loading nodes on cache miss.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    load(int key)
    Load a node by key on cache miss.
  • Method Details

    • load

      Object load(int key) throws IOException
      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