Interface NodeCache.Loader

Enclosing interface:
NodeCache

public static interface NodeCache.Loader
A loader is used to load a value for a key that is not in the cache.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.maxmind.db.DecodedValue
    load(CacheKey<?> key)
     
  • Method Details

    • load

      com.maxmind.db.DecodedValue load(CacheKey<?> key) throws IOException
      Parameters:
      key - the key to load
      Returns:
      the value for the key
      Throws:
      IOException - if there is an error loading the value