Interface CacheLoader


public interface CacheLoader
Implementations of this interface are used by Caches to refresh items that are already in the cache.
Author:
Sumer Jabri, Alfonso Vásquez
  • Method Summary

    Modifier and Type
    Method
    Description
    load(Object... parameters)
    Loads a new value for an item.
  • Method Details

    • load

      Object load(Object... parameters) throws Exception
      Loads a new value for an item.
      Parameters:
      parameters - additional parameters the load method could need
      Returns:
      the item's new value
      Throws:
      Exception - if somehow the load method couldn't execute successfully